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.001186/0.001186, allocations: 112.9 kB / 16.42 MB, free: 6.449 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.001323/0.001323, allocations: 189.7 kB / 17.35 MB, free: 5.734 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.441/1.441, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.313/2.313, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.91 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002256/1.007, allocations: 0.7482 MB / 1.089 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001493/1.009, allocations: 1.155 MB / 1.091 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/1.009, allocations: 0 / 1.091 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/1.009, allocations: 4.547 kB / 1.091 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/1.009, allocations: 11.34 kB / 1.091 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/1.01, allocations: 136.4 kB / 1.091 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000203/1.01, allocations: 118.4 kB / 1.091 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/1.01, allocations: 21.19 kB / 1.091 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/1.01, allocations: 47.91 kB / 1.091 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/1.01, allocations: 49.8 kB / 1.091 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/1.01, allocations: 10.69 kB / 1.091 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/1.01, allocations: 20.05 kB / 1.091 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/1.01, allocations: 21.48 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/1.011, allocations: 39.08 kB / 1.091 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/1.011, allocations: 110.9 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.011, allocations: 1.562 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/1.011, allocations: 0 / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.01e-06/1.011, allocations: 0 / 1.091 GB, free: 4.203 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005785/1.011, allocations: 420 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.011, allocations: 8.375 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/1.011, allocations: 6.859 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.54e-05/1.012, allocations: 180.8 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/1.012, allocations: 5.172 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/1.012, allocations: 9.938 kB / 1.092 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/1.012, allocations: 60.16 kB / 1.092 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.012, allocations: 4.188 kB / 1.092 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/1.012, allocations: 9.312 kB / 1.092 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.012, allocations: 0 / 1.092 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/1.012, allocations: 42.88 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/1.013, allocations: 325.1 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/1.013, allocations: 67.06 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/1.013, allocations: 35.48 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/1.013, allocations: 1.547 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/1.014, allocations: 83.2 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.224e-06/1.014, allocations: 4 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005848/1.014, allocations: 147.9 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.014, allocations: 53.75 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/1.014, allocations: 122.3 kB / 1.093 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/1.014, allocations: 28.7 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/1.015, allocations: 89.33 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/1.015, allocations: 24.05 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/1.015, allocations: 39 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.845e-05/1.015, allocations: 319 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/1.015, allocations: 49.75 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/1.015, allocations: 87.55 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/1.015, allocations: 145.8 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.015, allocations: 7.938 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005317/1.016, allocations: 216.7 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/1.016, allocations: 39.52 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.016, allocations: 2.094 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.016, allocations: 1.5 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/1.016, allocations: 11.95 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.016, allocations: 1.484 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/1.017, allocations: 42.88 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/1.017, allocations: 11.98 kB / 1.094 GB, free: 2.035 MB / 0.8575 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 0.000121/1.017, allocations: 125.6 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/1.017, allocations: 3.906 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/1.017, allocations: 10.58 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.017, allocations: 0.7969 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.017, allocations: 0.625 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/1.017, allocations: 83.84 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/1.017, allocations: 5.969 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/1.017, allocations: 6.531 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/1.017, allocations: 13.62 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003796/1.017, allocations: 189.5 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004225/1.018, allocations: 283.3 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001513/1.018, allocations: 35.69 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.109e-05/1.018, allocations: 90.66 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of Backend: time 6.71e-07/1.018, allocations: 0 / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008368/1.019, allocations: 231.8 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000668/1.02, allocations: 0.612 MB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of Templates: time 0.005474/1.025, allocations: 1.552 MB / 1.097 GB, free: 436 kB / 0.8575 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