Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0076/0.0076, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001458/0.001458, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.427/1.427, allocations: 222.9 MB / 240.5 MB, free: 4.434 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.368/2.368, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 63.84 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7941/0.7967, allocations: 140.4 MB / 0.9496 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002081/0.7988, allocations: 0.8631 MB / 0.9504 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.8001, allocations: 1.165 MB / 0.9516 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.8002, allocations: 0 / 0.9516 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.8003, allocations: 3.938 kB / 0.9516 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.8004, allocations: 9.609 kB / 0.9516 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.8008, allocations: 130.5 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.8009, allocations: 132.5 kB / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.8011, allocations: 29.44 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.8012, allocations: 54.16 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.8013, allocations: 48.97 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.8013, allocations: 7.469 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.8014, allocations: 30.34 kB / 0.952 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.8014, allocations: 14.83 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.8015, allocations: 41.44 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.8016, allocations: 105.3 kB / 0.9521 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.8016, allocations: 0 / 0.9521 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8016, allocations: 3.938 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8016, allocations: 1.375 kB / 0.9522 GB, free: 7.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005293/0.8022, allocations: 440.5 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.8022, allocations: 9.5 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.8023, allocations: 15.72 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.539e-05/0.8023, allocations: 172.4 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.8023, allocations: 12.5 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.8024, allocations: 8.625 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.8026, allocations: 84.33 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.8026, allocations: 1.562 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8026, allocations: 3.938 kB / 0.9529 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8026, allocations: 1.375 kB / 0.9529 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.8028, allocations: 67.58 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.8033, allocations: 387.7 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.8035, allocations: 55.27 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.158e-05/0.8036, allocations: 27.03 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.8036, allocations: 1.344 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.8038, allocations: 88.83 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.8038, allocations: 0 / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003925/0.8042, allocations: 126.3 kB / 0.9536 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.8043, allocations: 52.78 kB / 0.9536 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.8043, allocations: 130.1 kB / 0.9538 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.8044, allocations: 28.02 kB / 0.9538 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.8044, allocations: 101.5 kB / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.8044, allocations: 17.16 kB / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.8045, allocations: 38.05 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.8046, allocations: 324 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.8047, allocations: 50.84 kB / 0.9543 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.8049, allocations: 77.92 kB / 0.9544 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.8051, allocations: 127.9 kB / 0.9545 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8052, allocations: 1.344 kB / 0.9545 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003984/0.8056, allocations: 200.1 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.8056, allocations: 33.05 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8056, allocations: 0.8438 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8056, allocations: 1.125 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.8057, allocations: 14.27 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8057, allocations: 1.25 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.806, allocations: 50.62 kB / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.806, allocations: 5.562 kB / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.458e-05/0.8061, allocations: 117.1 kB / 0.9549 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.8061, allocations: 6.531 kB / 0.9549 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.8061, allocations: 17.8 kB / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8061, allocations: 1.344 kB / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8062, allocations: 0 / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.8062, allocations: 5.312 kB / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.8063, allocations: 189 kB / 0.9551 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8063, allocations: 0 / 0.9551 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.8063, allocations: 8.953 kB / 0.9551 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8063, allocations: 1.469 kB / 0.9551 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.8064, allocations: 1.812 kB / 0.9551 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.8064, allocations: 4 kB / 0.9551 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8064, allocations: 7.984 kB / 0.9551 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.8066, allocations: 122.8 kB / 0.9552 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.8066, allocations: 78.23 kB / 0.9553 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.8067, allocations: 6.078 kB / 0.9553 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.8067, allocations: 9.484 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.8068, allocations: 20.36 kB / 0.9554 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.8068, allocations: 2.219 kB / 0.9554 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.8069, allocations: 96.83 kB / 0.9555 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8069, allocations: 5.062 kB / 0.9555 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002306/0.8071, allocations: 33.41 kB / 0.9555 GB, free: 3.953 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001169/0.8072, allocations: 102.5 kB / 0.9556 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.8076, allocations: 166.5 kB / 0.9557 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8076, allocations: 5.344 kB / 0.9558 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.8077, allocations: 41.28 kB / 0.9558 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.8079, allocations: 10.97 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.8083, allocations: 230.1 kB / 0.956 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.8084, allocations: 0.69 MB / 0.9567 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.8085, allocations: 12.16 kB / 0.9567 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.8085, allocations: 0 / 0.9567 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.003044/0.8115, allocations: 1.346 MB / 0.958 GB, free: 2.105 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches