Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 112.8 kB / 16.38 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 190.9 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.381/2.381, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 4.691/4.691, allocations: 442.6 MB / 0.7166 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 70.92 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5953, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.004555/0.5999, allocations: 1.223 MB / 1.028 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.6017, allocations: 421 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.6017, allocations: 0 / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.6018, allocations: 0 / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.6019, allocations: 3.938 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.603, allocations: 107.6 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.6031, allocations: 19.98 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.815e-05/0.6032, allocations: 4 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.6033, allocations: 7.984 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.6033, allocations: 15.92 kB / 1.029 GB, free: 292 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.6034, allocations: 0 / 1.029 GB, free: 292 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.6038, allocations: 103.8 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.6038, allocations: 4 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.6039, allocations: 7.938 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.6043, allocations: 95.8 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.6043, allocations: 0 / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6043, allocations: 0 / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.6043, allocations: 4 kB / 1.029 GB, free: 76 kB / 0.795 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.000812/0.6052, allocations: 377.2 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.6052, allocations: 8.031 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.6053, allocations: 8.844 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.6056, allocations: 176.2 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.6057, allocations: 384 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.6057, allocations: 384 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.6058, allocations: 38.25 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6059, allocations: 4.188 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.6059, allocations: 11.92 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.6059, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.606, allocations: 8 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.6062, allocations: 153.7 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6063, allocations: 34.55 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.6064, allocations: 8.859 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.6064, allocations: 0 / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.6066, allocations: 59.48 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 6.502e-06/0.6067, allocations: 4 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005444/0.6072, allocations: 73.5 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.6073, allocations: 51.41 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.6075, allocations: 105.8 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.6076, allocations: 25.7 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.6077, allocations: 88.14 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.6077, allocations: 11.89 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.6078, allocations: 17.72 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.6081, allocations: 314.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.6081, allocations: 11.98 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.6082, allocations: 35.42 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.6084, allocations: 47.36 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6084, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002065/0.6086, allocations: 66 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6086, allocations: 4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6087, allocations: 3.938 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.6087, allocations: 4 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.6088, allocations: 12.03 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.6089, allocations: 4 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.6089, allocations: 4.047 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/0.609, allocations: 11.97 kB / 1.03 GB, free: 14.07 MB / 0.8106 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 0.0001404/0.6092, allocations: 113.7 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.6092, allocations: 7.906 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.6093, allocations: 11.44 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6093, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6093, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.6095, allocations: 85.11 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.6095, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.6096, allocations: 3.984 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.6096, allocations: 3.938 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002411/0.6099, allocations: 136.9 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003151/0.6102, allocations: 230.8 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.348e-05/0.6103, allocations: 15.98 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.837e-05/0.6104, allocations: 79.28 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of Backend: time 4.91e-07/0.6104, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.6115, allocations: 168.7 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0009422/0.6125, allocations: 0.5448 MB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of Templates: time 0.00731/0.6198, allocations: 1.047 MB / 1.033 GB, free: 11.54 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y