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.001266/0.001266, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001326/0.001326, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.488/1.488, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.305/2.305, allocations: 390.2 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 69.39 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2459, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001981/0.2479, allocations: 0.8193 MB / 0.9506 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2493, allocations: 1.14 MB / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.2494, allocations: 0 / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.2494, allocations: 7.938 kB / 0.9517 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.2495, allocations: 7.922 kB / 0.9517 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.2499, allocations: 127.6 kB / 0.9518 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.2501, allocations: 127.8 kB / 0.9519 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.203e-05/0.2502, allocations: 11.98 kB / 0.952 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.2503, allocations: 47.91 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.2503, allocations: 35.89 kB / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.2504, allocations: 12 kB / 0.9521 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.865e-05/0.2504, allocations: 27.97 kB / 0.9521 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.2505, allocations: 15.92 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.2505, allocations: 39.84 kB / 0.9521 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.2507, allocations: 79.84 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2507, allocations: 0 / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2507, allocations: 0 / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2507, allocations: 4 kB / 0.9522 GB, free: 6.707 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.0005583/0.2512, allocations: 409.2 kB / 0.9526 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.2513, allocations: 8.031 kB / 0.9526 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.2513, allocations: 16.83 kB / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.2514, allocations: 172.2 kB / 0.9528 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2515, allocations: 4.375 kB / 0.9528 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.2515, allocations: 12.38 kB / 0.9528 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2517, allocations: 62.22 kB / 0.9529 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2517, allocations: 192 / 0.9529 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2517, allocations: 7.875 kB / 0.9529 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2517, allocations: 4 kB / 0.9529 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.2519, allocations: 43.95 kB / 0.9529 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.2524, allocations: 344.6 kB / 0.9532 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.2526, allocations: 54.56 kB / 0.9533 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2527, allocations: 36.95 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.2527, allocations: 4 kB / 0.9533 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.253, allocations: 95.2 kB / 0.9534 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.253, allocations: 0 / 0.9534 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004041/0.2534, allocations: 141.7 kB / 0.9536 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.2534, allocations: 55.41 kB / 0.9536 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.2535, allocations: 125.7 kB / 0.9537 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2535, allocations: 33.7 kB / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.2536, allocations: 88.14 kB / 0.9539 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.2536, allocations: 15.8 kB / 0.9539 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.2537, allocations: 37.7 kB / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2538, allocations: 322.8 kB / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.254, allocations: 51.91 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.2541, allocations: 88.25 kB / 0.9543 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.2544, allocations: 141.8 kB / 0.9545 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2544, allocations: 0 / 0.9545 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004414/0.2549, allocations: 211.1 kB / 0.9547 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.2549, allocations: 37.69 kB / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.255, allocations: 0 / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.255, allocations: 4 kB / 0.9547 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.2551, allocations: 16.11 kB / 0.9547 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2551, allocations: 0 / 0.9547 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.2553, allocations: 39.89 kB / 0.9548 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.2554, allocations: 11.94 kB / 0.9548 GB, free: 3.785 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 0.0001153/0.2555, allocations: 129.2 kB / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.2555, allocations: 7.906 kB / 0.9549 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.2555, allocations: 16.36 kB / 0.9549 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2556, allocations: 0 / 0.9549 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2556, allocations: 0 / 0.9549 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2556, allocations: 0 / 0.9549 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.2561, allocations: 378.4 kB / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2561, allocations: 4 kB / 0.9553 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.2561, allocations: 11.94 kB / 0.9553 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2561, allocations: 0 / 0.9553 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.2562, allocations: 3.984 kB / 0.9553 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2562, allocations: 4 kB / 0.9553 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2562, allocations: 0 / 0.9553 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.2565, allocations: 207.4 kB / 0.9555 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.2566, allocations: 88.95 kB / 0.9556 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.2566, allocations: 8.062 kB / 0.9556 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.2567, allocations: 7.984 kB / 0.9556 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.2567, allocations: 4 kB / 0.9556 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.2568, allocations: 7.938 kB / 0.9556 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.51e-05/0.2568, allocations: 91.27 kB / 0.9557 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.957e-06/0.2568, allocations: 0 / 0.9557 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002593/0.2571, allocations: 23.94 kB / 0.9557 GB, free: 2.715 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.0002075/0.2573, allocations: 115.2 kB / 0.9558 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.2577, allocations: 175.3 kB / 0.956 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2578, allocations: 0 / 0.956 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2579, allocations: 39.97 kB / 0.9561 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.2582, allocations: 8.625 kB / 0.9561 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.2586, allocations: 216.6 kB / 0.9563 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.259, allocations: 0.6883 MB / 0.9569 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.259, allocations: 19.38 kB / 0.957 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.259, allocations: 0 / 0.957 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of Templates: time 0.002853/0.2619, allocations: 1.261 MB / 0.9582 GB, free: 132 kB / 0.7325 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