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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001383/0.001383, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.00146, allocations: 200 kB / 16.79 MB, free: 6.828 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.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6009/0.6024, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002315/0.6048, allocations: 1.281 MB / 0.9508 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.6056, allocations: 430.8 kB / 0.9512 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.6056, allocations: 1.188 kB / 0.9512 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.6056, allocations: 0 / 0.9512 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.6057, allocations: 3.938 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.6062, allocations: 88 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.039e-05/0.6062, allocations: 11.95 kB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.6063, allocations: 1.281 kB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.6063, allocations: 12.92 kB / 0.9513 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.91e-05/0.6063, allocations: 6.406 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.6064, allocations: 5.281 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.6066, allocations: 101.1 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.6066, allocations: 9.453 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.6066, allocations: 6.906 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.6068, allocations: 63.38 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6068, allocations: 0 / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.71e-07/0.6068, allocations: 1.594 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.6068, allocations: 0 / 0.9515 GB, free: 7.594 MB / 0.7169 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.0003911/0.6072, allocations: 383 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.6072, allocations: 12.69 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.6073, allocations: 3.281 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.255e-05/0.6073, allocations: 169.9 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.6074, allocations: 1.875 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.6074, allocations: 5.812 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.434e-05/0.6075, allocations: 39.38 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.6075, allocations: 192 / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.6075, allocations: 5.094 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.6075, allocations: 3.938 kB / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.6076, allocations: 7.641 kB / 0.9521 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.6077, allocations: 165.1 kB / 0.9523 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.6078, allocations: 27.42 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.6078, allocations: 17.81 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.6078, allocations: 0 / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.6079, allocations: 60.12 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.6079, allocations: 4 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001921/0.6081, allocations: 70.2 kB / 0.9525 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.6082, allocations: 52.84 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.6082, allocations: 98.91 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.6083, allocations: 29.7 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.884e-05/0.6083, allocations: 85.69 kB / 0.9527 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.6083, allocations: 9.281 kB / 0.9527 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.6083, allocations: 23.23 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.6084, allocations: 320.2 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.6084, allocations: 4.219 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.6084, allocations: 35.8 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.058e-05/0.6085, allocations: 47.91 kB / 0.9531 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6085, allocations: 0 / 0.9531 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.608e-05/0.6086, allocations: 72.95 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6086, allocations: 15.09 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.6086, allocations: 1.625 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6087, allocations: 1.25 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.6087, allocations: 6.734 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6087, allocations: 5.594 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.6088, allocations: 6.016 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.6088, allocations: 5.562 kB / 0.9532 GB, free: 5.754 MB / 0.7169 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 5.296e-05/0.6088, allocations: 117.3 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.6089, allocations: 5.438 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.6089, allocations: 3.5 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.6089, allocations: 1.438 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6089, allocations: 0 / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6089, allocations: 1.688 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.385e-05/0.609, allocations: 153.4 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.609, allocations: 0 / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.609, allocations: 5.344 kB / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.609, allocations: 5.344 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.609, allocations: 0 / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.609, allocations: 5.547 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.609, allocations: 0 / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.6092, allocations: 85.62 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.6092, allocations: 82.39 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.6092, allocations: 13.27 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.6092, allocations: 4 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.6093, allocations: 2.75 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.6093, allocations: 1.406 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.993e-05/0.6093, allocations: 82.08 kB / 0.9538 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6093, allocations: 0 / 0.9538 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002714/0.6096, allocations: 30.81 kB / 0.9538 GB, free: 5.133 MB / 0.7169 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.0003138/0.6099, allocations: 164.9 kB / 0.954 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.61, allocations: 28.48 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.61, allocations: 1 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.6101, allocations: 15.86 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.6102, allocations: 2.125 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.6104, allocations: 137.5 kB / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.46e-05/0.6105, allocations: 0.6815 MB / 0.9548 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.6106, allocations: 10.09 kB / 0.9548 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6106, allocations: 0 / 0.9548 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.002763/0.6133, allocations: 1.212 MB / 0.956 GB, free: 3.516 MB / 0.7169 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