Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 75.69 kB / 20.97 MB, free: 3.57 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 173 kB / 24.28 MB, free: 272 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9314/0.9314, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.814/1.814, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.156e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001659/0.00168, allocations: 1.266 MB / 0.7883 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006547/0.002335, allocations: 419.1 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.002369, allocations: 3.938 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.002393, allocations: 0.7188 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.00244, allocations: 0 / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.002937, allocations: 116.2 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.002998, allocations: 17.17 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.003033, allocations: 0 / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.003068, allocations: 19.97 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.295e-05/0.00309, allocations: 5.391 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.003105, allocations: 4 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.003304, allocations: 131.7 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.003322, allocations: 7.984 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.003348, allocations: 9 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.003524, allocations: 103.7 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003527, allocations: 0 / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003528, allocations: 1.5 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.003533, allocations: 0 / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004141/0.003947, allocations: 402.1 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.003983, allocations: 12.56 kB / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.004024, allocations: 5.984 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.106e-05/0.004105, allocations: 116.6 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.004127, allocations: 4.375 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.004137, allocations: 5.969 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.004244, allocations: 50.89 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.004251, allocations: 192 / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.00426, allocations: 384 / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.004269, allocations: 4.375 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.00429, allocations: 13.58 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.004413, allocations: 116.6 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.088e-05/0.004484, allocations: 39.09 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.004514, allocations: 14.22 kB / 0.7899 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.004521, allocations: 4 kB / 0.7899 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.066e-05/0.004602, allocations: 61.14 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.004602, allocations: 0 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001616/0.004764, allocations: 69.56 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.004799, allocations: 55.41 kB / 0.79 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.004876, allocations: 166.7 kB / 0.7902 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.004886, allocations: 27.36 kB / 0.7902 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.004927, allocations: 134.9 kB / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.004945, allocations: 11.94 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.004973, allocations: 23.38 kB / 0.7904 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.005103, allocations: 0.4923 MB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.005117, allocations: 1.375 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.005148, allocations: 46.67 kB / 0.7909 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.005205, allocations: 52.5 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005207, allocations: 0 / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.148e-05/0.005279, allocations: 66.16 kB / 0.791 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.005292, allocations: 8 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005296, allocations: 0.9375 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.005308, allocations: 0 / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.005378, allocations: 21.92 kB / 0.7911 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.005385, allocations: 3.938 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.0054, allocations: 3.953 kB / 0.7911 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.00541, allocations: 4 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/0.005479, allocations: 164.7 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/0.005485, allocations: 2.125 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.00551, allocations: 11.67 kB / 0.7912 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005511, allocations: 0 / 0.7912 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.005515, allocations: 3.938 kB / 0.7912 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.005518, allocations: 3.938 kB / 0.7912 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.37e-05/0.005592, allocations: 113.2 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005593, allocations: 0 / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-06/0.005601, allocations: 8.719 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.005604, allocations: 3.984 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.005611, allocations: 0.5312 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005611, allocations: 1.562 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.005613, allocations: 3.984 kB / 0.7914 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.00571, allocations: 104.2 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.005716, allocations: 0 / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.005729, allocations: 8.531 kB / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.005743, allocations: 0 / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.005763, allocations: 1.312 kB / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.005767, allocations: 0 / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.846e-05/0.005806, allocations: 131.1 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005806, allocations: 1.156 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001635/0.005969, allocations: 35.88 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003036/0.006273, allocations: 168.8 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.603e-05/0.006369, allocations: 36.92 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00637, allocations: 0 / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.006396, allocations: 15.69 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.006502, allocations: 12.48 kB / 0.7919 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.006705, allocations: 118.9 kB / 0.792 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.04e-05/0.006735, allocations: 55.36 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.006751, allocations: 1.719 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.006767, allocations: 16.48 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of SimCode: time 6.52e-07/0.006767, allocations: 3.938 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of Templates: time 0.002741/0.009509, allocations: 1.069 MB / 0.7931 GB, free: 6.324 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.145484428154305]