Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001318/0.001318, 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.001835/0.001835, allocations: 192.5 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.495/1.495, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.828/2.828, allocations: 437 MB / 0.7103 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 0.8692 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8811/0.8826, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002227/0.8849, allocations: 0.7467 MB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.8865, allocations: 1.151 MB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.8865, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.8866, allocations: 3.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.8867, allocations: 7.922 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.8872, allocations: 127.7 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.8873, allocations: 127.7 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.8875, allocations: 23.91 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.8876, allocations: 47.91 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.8877, allocations: 43.81 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.8877, allocations: 12 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.8878, allocations: 23.98 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.8878, allocations: 8 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.8879, allocations: 43.84 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.8881, allocations: 107.8 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8881, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8881, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8881, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 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.0006268/0.8888, allocations: 422.9 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8888, allocations: 12.03 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.8889, allocations: 8.844 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.889, allocations: 176.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.889, allocations: 8.312 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.8891, allocations: 8.359 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.8893, allocations: 62.23 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8893, allocations: 192 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.8893, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8893, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.8895, allocations: 43.95 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.89, allocations: 328.7 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.8902, allocations: 62.55 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.8903, allocations: 32.97 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.8903, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.8906, allocations: 95.31 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.706e-06/0.8906, allocations: 11.92 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000468/0.8911, allocations: 137.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.8911, allocations: 55.41 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.8913, allocations: 125.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.8913, allocations: 29.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.8914, allocations: 88.12 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.8914, allocations: 27.67 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.8915, allocations: 41.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8917, allocations: 322.8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.8918, allocations: 51.97 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.892, allocations: 85.31 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.8924, allocations: 149.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8924, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004644/0.8928, allocations: 211.2 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.8929, allocations: 35.42 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.8929, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.8929, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.893, allocations: 19.92 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.893, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.8933, allocations: 32.08 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.8933, allocations: 8 kB / 1.022 GB, free: 13.07 MB / 0.7794 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.0001411/0.8935, allocations: 130.4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.8935, allocations: 7.906 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.8935, allocations: 8.375 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.8935, allocations: 4 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8935, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.8936, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.8941, allocations: 382.3 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8941, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.8942, allocations: 11.98 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8942, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.8942, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.8942, allocations: 3.938 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.8942, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.8945, allocations: 215.4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.8946, allocations: 84.95 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.8946, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.8947, allocations: 7.984 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.8948, allocations: 7.984 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.8948, allocations: 7.938 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.665e-05/0.8949, allocations: 95.27 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8949, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002738/0.8952, allocations: 20 kB / 1.023 GB, free: 11.99 MB / 0.7794 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.0002102/0.8954, allocations: 107.2 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.8958, allocations: 183.7 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8958, allocations: 256 / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.8959, allocations: 47.91 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.8962, allocations: 22.2 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.8966, allocations: 150.8 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.8969, allocations: 0.6961 MB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.15e-05/0.897, allocations: 11.84 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.897, allocations: 15.44 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.897, allocations: 0 / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.00442/0.9014, allocations: 1.437 MB / 1.026 GB, free: 9.273 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches