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.001345/0.001345, allocations: 108 kB / 15.6 MB, free: 132 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.001635/0.001635, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.436/2.436, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6834/0.6849, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002431/0.6874, allocations: 0.7368 MB / 0.9503 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.689, allocations: 1.154 MB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.6891, allocations: 4 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.6891, allocations: 5.094 kB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.013e-05/0.6892, allocations: 13.06 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.6898, allocations: 127.9 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.6899, allocations: 129.1 kB / 0.9517 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.6901, allocations: 16.45 kB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.6902, allocations: 43.06 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.6903, allocations: 42.03 kB / 0.9518 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.6903, allocations: 10.91 kB / 0.9518 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.6904, allocations: 20.48 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.6904, allocations: 18.47 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.6905, allocations: 43.59 kB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.6907, allocations: 113.3 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6907, allocations: 0 / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6907, allocations: 0 / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6907, allocations: 1.469 kB / 0.952 GB, free: 7.293 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005965/0.6913, allocations: 414.5 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6914, allocations: 10.06 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.6914, allocations: 9.406 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.6915, allocations: 175.4 kB / 0.9526 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.6916, allocations: 8.812 kB / 0.9526 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.6916, allocations: 9.844 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.6918, allocations: 60.47 kB / 0.9527 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.6918, allocations: 192 / 0.9527 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.6918, allocations: 9.469 kB / 0.9527 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6918, allocations: 0 / 0.9527 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.692, allocations: 42.86 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.6925, allocations: 333.1 kB / 0.953 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.6927, allocations: 66.11 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.6928, allocations: 32.81 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.6928, allocations: 1.5 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.6931, allocations: 87.27 kB / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.6931, allocations: 0 / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004457/0.6935, allocations: 143.7 kB / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.6936, allocations: 61.64 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.6936, allocations: 115.1 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.6937, allocations: 28.45 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.6937, allocations: 95.67 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.6938, allocations: 23.3 kB / 0.9537 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.6938, allocations: 36.95 kB / 0.9537 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.6939, allocations: 321.4 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.6941, allocations: 55.91 kB / 0.9541 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.6942, allocations: 87.19 kB / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.6945, allocations: 144.7 kB / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6945, allocations: 3.938 kB / 0.9543 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004484/0.695, allocations: 205.9 kB / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.695, allocations: 42.5 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.695, allocations: 1.5 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.6951, allocations: 5.781 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.6952, allocations: 16.08 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.6952, allocations: 1.438 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.6954, allocations: 32.45 kB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.6954, allocations: 13.69 kB / 0.9546 GB, free: 4.91 MB / 0.7169 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 7.83e-05/0.6955, allocations: 121.9 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.6955, allocations: 10.97 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.6956, allocations: 17.72 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.6956, allocations: 1.25 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6956, allocations: 0 / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6956, allocations: 0 / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.696, allocations: 376.1 kB / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.696, allocations: 4 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/0.6961, allocations: 5.75 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6961, allocations: 1.469 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.6961, allocations: 3.984 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6961, allocations: 1.344 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6961, allocations: 0 / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.6964, allocations: 217 kB / 0.9553 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.6964, allocations: 87.14 kB / 0.9554 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.6965, allocations: 1.156 kB / 0.9554 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.6965, allocations: 11.92 kB / 0.9554 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.6966, allocations: 3.188 kB / 0.9554 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.6966, allocations: 9.922 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.6967, allocations: 87.5 kB / 0.9555 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6967, allocations: 3.938 kB / 0.9555 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002708/0.6969, allocations: 28.8 kB / 0.9555 GB, free: 4.008 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: 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.0001538/0.6971, allocations: 113.7 kB / 0.9556 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.6975, allocations: 175.1 kB / 0.9558 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6975, allocations: 0 / 0.9558 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.6976, allocations: 43 kB / 0.9558 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.6979, allocations: 19.56 kB / 0.9559 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.6983, allocations: 157.8 kB / 0.956 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.6984, allocations: 0.6878 MB / 0.9567 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.6985, allocations: 16.42 kB / 0.9567 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.6985, allocations: 11.19 kB / 0.9567 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6985, allocations: 0 / 0.9567 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.004055/0.7026, allocations: 1.454 MB / 0.9581 GB, free: 2.152 MB / 0.7169 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/jenkins/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