Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009733/0.0009735, allocations: 184.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 86.5 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.4e-05, allocations: 7.984 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2158, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7038/0.9197, allocations: 131.7 MB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.92, allocations: 74.89 kB / 1.021 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002699/0.9227, allocations: 0.9611 MB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9227, allocations: 0 / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9227, allocations: 0 / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004491/0.9232, allocations: 362.1 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.9232, allocations: 16.03 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.9233, allocations: 3.906 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.9234, allocations: 174.7 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.9235, allocations: 3.938 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.9235, allocations: 7.984 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.9236, allocations: 56.17 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.9236, allocations: 0 / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.9236, allocations: 0 / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.9236, allocations: 4 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.9237, allocations: 17.44 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.9242, allocations: 316.5 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.9246, allocations: 101 kB / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.9246, allocations: 18.73 kB / 1.023 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.9247, allocations: 0 / 1.023 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.9248, allocations: 72.97 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.9248, allocations: 0 / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001961/0.925, allocations: 88.5 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.9251, allocations: 59.36 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.9252, allocations: 112.1 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.9252, allocations: 28.89 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.9252, allocations: 86.77 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.9253, allocations: 19.73 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.9253, allocations: 7.562 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.9254, allocations: 310.8 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.678e-05/0.9254, allocations: 17.75 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.9255, allocations: 45.75 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.9255, allocations: 19.8 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9255, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001443/0.9257, allocations: 86.66 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.9257, allocations: 10.03 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9257, allocations: 0 / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.9258, allocations: 2.938 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.9258, allocations: 19.92 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9259, allocations: 3.953 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.926, allocations: 23.83 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.926, allocations: 4 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/0.9261, allocations: 114.4 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.9261, allocations: 7.906 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.9261, allocations: 8.25 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9261, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.9262, allocations: 3.938 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9262, allocations: 11.95 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.9265, allocations: 334.5 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9265, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/0.9266, allocations: 12.55 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9266, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.9266, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9266, allocations: 7.953 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9266, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.9268, allocations: 181.1 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.9269, allocations: 88.94 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.9269, allocations: 3.062 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.927, allocations: 15.98 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.9271, allocations: 11.94 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.9271, allocations: 2.812 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.9272, allocations: 98.27 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9272, allocations: 0 / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002113/0.9274, allocations: 14.56 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.9275, allocations: 99.25 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.9277, allocations: 57.67 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9277, allocations: 0 / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.9277, allocations: 23.19 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.9279, allocations: 11.98 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.9282, allocations: 102.4 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.9285, allocations: 0.6887 MB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.9286, allocations: 11.8 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.9286, allocations: 10.31 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of SimCode: time 5.91e-07/0.9286, allocations: 4 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.00287/0.9315, allocations: 0.7388 MB / 1.026 GB, free: 13.24 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches