Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001269/0.00127, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001362/0.001362, allocations: 183 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 64.09 kB / 0.9515 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8732/0.8747, allocations: 140.4 MB / 1.089 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002174/0.8769, allocations: 1.221 MB / 1.09 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008112/0.8777, allocations: 414 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.8778, allocations: 0 / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.8778, allocations: 0 / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.8778, allocations: 4.906 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.8784, allocations: 101.8 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.294e-05/0.8785, allocations: 20 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.8786, allocations: 7.141 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.8786, allocations: 9.328 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.108e-05/0.8786, allocations: 12.73 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.8786, allocations: 1.094 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.8789, allocations: 99.94 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.8789, allocations: 7.219 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.8789, allocations: 7.906 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.8792, allocations: 95.97 kB / 1.091 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8792, allocations: 0 / 1.091 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8792, allocations: 0 / 1.091 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.8792, allocations: 0.9062 kB / 1.091 GB, free: 4.305 MB / 0.8575 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.0004432/0.8796, allocations: 389.2 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8797, allocations: 8.938 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.8797, allocations: 7.859 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.92e-05/0.8798, allocations: 166.7 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.8799, allocations: 1.469 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.8799, allocations: 6.734 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.88, allocations: 40.55 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.88, allocations: 192 / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.88, allocations: 5.672 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.88, allocations: 4 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.8801, allocations: 9.297 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.8802, allocations: 154.5 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.8803, allocations: 31.91 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.8803, allocations: 11.77 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.8803, allocations: 1.438 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.8805, allocations: 57.34 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.8805, allocations: 0 / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002119/0.8807, allocations: 72.98 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.8807, allocations: 53.2 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/0.8808, allocations: 108.9 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.8808, allocations: 26.58 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.8809, allocations: 89.62 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.8809, allocations: 6.969 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.8809, allocations: 25.78 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.881, allocations: 317.2 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.881, allocations: 6 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.8811, allocations: 32.25 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.8811, allocations: 50.81 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8811, allocations: 0 / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.638e-05/0.8812, allocations: 68.88 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.8812, allocations: 9.438 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.8813, allocations: 2.203 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8813, allocations: 1.344 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.8814, allocations: 8.812 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.8814, allocations: 1.219 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.8814, allocations: 3.078 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.8814, allocations: 7.359 kB / 1.092 GB, free: 2.535 MB / 0.8575 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.773e-05/0.8815, allocations: 113 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.8815, allocations: 11.3 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.8815, allocations: 8.141 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.8816, allocations: 1.719 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8816, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8816, allocations: 0.5625 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.8817, allocations: 154.8 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8817, allocations: 3.938 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/0.8817, allocations: 10.75 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8817, allocations: 3.938 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.8817, allocations: 1.922 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8817, allocations: 0 / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8817, allocations: 1.656 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.8819, allocations: 81.48 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.8819, allocations: 83.09 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.8819, allocations: 5.281 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.604e-05/0.882, allocations: 8.844 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.882, allocations: 5.531 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.882, allocations: 2.672 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.8821, allocations: 84.75 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8821, allocations: 0 / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003025/0.8824, allocations: 32.58 kB / 1.093 GB, free: 1.922 MB / 0.8575 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.000369/0.8828, allocations: 169.7 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.8829, allocations: 29.14 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8829, allocations: 0 / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.8829, allocations: 17.25 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.8831, allocations: 2.453 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.8834, allocations: 126.1 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.8835, allocations: 0.6812 MB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.8835, allocations: 12.84 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.8835, allocations: 1 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of Templates: time 0.00369/0.8872, allocations: 1.22 MB / 1.095 GB, free: 0.8164 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches