Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001676/0.001676, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.393/1.393, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.19/2.19, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.81 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.256, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002114/0.2582, allocations: 0.7423 MB / 0.951 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2598, allocations: 1.146 MB / 0.9521 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.2599, allocations: 3.938 kB / 0.9521 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.2599, allocations: 3.938 kB / 0.9521 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.26, allocations: 11.94 kB / 0.9521 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.2606, allocations: 139.3 kB / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.2608, allocations: 123.8 kB / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2609, allocations: 15.98 kB / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.261, allocations: 47.91 kB / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.2611, allocations: 39.83 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.2611, allocations: 12 kB / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.2612, allocations: 23.98 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.2612, allocations: 7.984 kB / 0.9525 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.2613, allocations: 47.83 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.2615, allocations: 111.7 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2615, allocations: 0 / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2615, allocations: 4 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.2615, allocations: 0 / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006471/0.2622, allocations: 413.2 kB / 0.9531 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2622, allocations: 8.031 kB / 0.9531 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.2623, allocations: 12.84 kB / 0.9531 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2624, allocations: 176.2 kB / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2625, allocations: 384 / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.2625, allocations: 8.375 kB / 0.9533 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.2627, allocations: 74.19 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2627, allocations: 4.188 kB / 0.9534 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2627, allocations: 3.938 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2627, allocations: 0 / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.2629, allocations: 43.95 kB / 0.9534 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.2634, allocations: 332.7 kB / 0.9537 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.2636, allocations: 58.48 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.2637, allocations: 41.02 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2638, allocations: 0 / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.264, allocations: 99.2 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.264, allocations: 0 / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004361/0.2644, allocations: 133.7 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2645, allocations: 59.41 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.2646, allocations: 125.7 kB / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.2646, allocations: 33.7 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.2647, allocations: 88.14 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2647, allocations: 19.8 kB / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.2648, allocations: 37.7 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2649, allocations: 318.8 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2651, allocations: 47.97 kB / 0.9547 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2653, allocations: 96.12 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.2656, allocations: 149.8 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2656, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004468/0.266, allocations: 203.2 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.2661, allocations: 37.69 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2661, allocations: 4 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2661, allocations: 0 / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2662, allocations: 19.92 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2662, allocations: 4.125 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.2665, allocations: 35.89 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.2665, allocations: 8 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.81e-05/0.2666, allocations: 130.7 kB / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.2666, allocations: 7.906 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.2666, allocations: 12.36 kB / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2667, allocations: 7.938 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2667, allocations: 0 / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2667, allocations: 4 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.2672, allocations: 370.4 kB / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2672, allocations: 0 / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.2672, allocations: 7.984 kB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2673, allocations: 3.938 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2673, allocations: 8 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2673, allocations: 0 / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2673, allocations: 7.922 kB / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.2676, allocations: 207.8 kB / 0.956 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.2677, allocations: 85.02 kB / 0.9561 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.2677, allocations: 0 / 0.9561 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.2678, allocations: 11.98 kB / 0.9561 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.2678, allocations: 8 kB / 0.9561 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2679, allocations: 12 kB / 0.9561 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.03e-05/0.2679, allocations: 91.27 kB / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2679, allocations: 0 / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002679/0.2682, allocations: 20 kB / 0.9562 GB, free: 2.387 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001662/0.2684, allocations: 115.2 kB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.2688, allocations: 183.3 kB / 0.9565 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2688, allocations: 0 / 0.9565 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.2689, allocations: 39.97 kB / 0.9565 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2692, allocations: 18.12 kB / 0.9566 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.2696, allocations: 196.6 kB / 0.9567 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.2699, allocations: 0.6922 MB / 0.9574 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.2699, allocations: 11.44 kB / 0.9574 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2699, allocations: 0 / 0.9574 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of Templates: time 0.003528/0.2735, allocations: 1.258 MB / 0.9587 GB, free: 15.81 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches