Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00144/0.00144, allocations: 103 kB / 16.35 MB, free: 5.875 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.001528/0.001528, allocations: 196.1 kB / 17.3 MB, free: 5.516 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.581/2.581, allocations: 442.5 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 62.98 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3423, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002195/0.3445, allocations: 0.7539 MB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.346, allocations: 1.155 MB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.3461, allocations: 0 / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.3461, allocations: 7.938 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.724e-05/0.3462, allocations: 7.938 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.3467, allocations: 138.6 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3469, allocations: 119.8 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.347, allocations: 11.98 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.492e-05/0.3471, allocations: 51.89 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.3472, allocations: 47.77 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.3473, allocations: 12 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.3473, allocations: 23.98 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.3474, allocations: 15.97 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.829e-05/0.3475, allocations: 39.84 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3476, allocations: 111.7 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3477, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3477, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3477, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 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.000649/0.3483, allocations: 414.1 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3484, allocations: 12.03 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.3484, allocations: 4.938 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3486, allocations: 180.2 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3486, allocations: 8.375 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3486, allocations: 12.38 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3488, allocations: 70.14 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3488, allocations: 4.172 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3489, allocations: 3.938 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3489, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.349, allocations: 43.95 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.3496, allocations: 332.6 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.3497, allocations: 62.55 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3499, allocations: 32.95 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.3499, allocations: 4 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.3501, allocations: 95.3 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.3501, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004237/0.3506, allocations: 141.6 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3506, allocations: 51.41 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.3507, allocations: 125.8 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3508, allocations: 29.7 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.3508, allocations: 88.14 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.3509, allocations: 19.8 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.3509, allocations: 37.7 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3511, allocations: 314.8 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3512, allocations: 55.89 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3514, allocations: 92.25 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.3516, allocations: 145.8 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3517, allocations: 0 / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004164/0.3521, allocations: 211.4 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.3521, allocations: 41.69 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3521, allocations: 0 / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3522, allocations: 3.938 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.3523, allocations: 11.98 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3523, allocations: 16.05 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.3525, allocations: 39.81 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.3525, allocations: 7.984 kB / 1.032 GB, free: 12.6 MB / 0.8106 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.697e-05/0.3526, allocations: 129.7 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.3526, allocations: 4 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.3527, allocations: 8.375 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3527, allocations: 8 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3527, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3527, allocations: 3.984 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.3531, allocations: 370.4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3532, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.3532, allocations: 15.92 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3532, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3532, allocations: 4 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3532, allocations: 4 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3532, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3535, allocations: 207.3 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.3536, allocations: 77.11 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.3536, allocations: 7.984 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.3537, allocations: 8 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.3538, allocations: 7.984 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.3538, allocations: 7.938 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.3538, allocations: 91.27 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.502e-06/0.3538, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002685/0.3541, allocations: 31.94 kB / 1.033 GB, free: 11.53 MB / 0.8106 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.0001698/0.3543, allocations: 106.6 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.3546, allocations: 175.3 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3547, allocations: 0 / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3548, allocations: 43.95 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3551, allocations: 23.08 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.3555, allocations: 162.9 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3557, allocations: 0.6962 MB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.3558, allocations: 4 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.3558, allocations: 11.44 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3558, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.004045/0.3598, allocations: 1.44 MB / 1.035 GB, free: 8.82 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches