Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 249.5 MB / 257 MB, free: 6.93 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.001188/0.001188, allocations: 184.8 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009815/0.0009815, allocations: 96.55 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.18e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2412, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6912/0.9325, allocations: 131.6 MB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.9327, allocations: 72.14 kB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00141/0.9341, allocations: 0.6022 MB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9341, allocations: 0 / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9341, allocations: 4 kB / 1.014 GB, free: 5.625 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003275/0.9345, allocations: 334.4 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9345, allocations: 12.03 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.9346, allocations: 3.25 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.9347, allocations: 167.8 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.9347, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.9348, allocations: 4 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.249e-05/0.9348, allocations: 15.12 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.884e-05/0.9349, allocations: 33.69 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.9349, allocations: 0 / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.9349, allocations: 0 / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.9349, allocations: 0 / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.9353, allocations: 251.2 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.9354, allocations: 18.58 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.9354, allocations: 4.859 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.9354, allocations: 64 / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.9354, allocations: 46.38 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.224e-06/0.9355, allocations: 0 / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.9356, allocations: 40.27 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.9356, allocations: 55.44 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.9357, allocations: 92.75 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.9357, allocations: 25.7 kB / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.9357, allocations: 84.14 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-06/0.9358, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.9358, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.9359, allocations: 322.5 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.9359, allocations: 4 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-06/0.9359, allocations: 4 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.406e-05/0.9359, allocations: 7.875 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.9359, allocations: 0 / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.483e-05/0.936, allocations: 37.55 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.936, allocations: 8 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.936, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.936, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.9361, allocations: 11.98 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.9361, allocations: 96 / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.9362, allocations: 15.92 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.9362, allocations: 4 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.848e-05/0.9363, allocations: 104.9 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.9363, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.9363, allocations: 11.64 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.9363, allocations: 192 / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9363, allocations: 3.938 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9363, allocations: 7.984 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.9365, allocations: 134.2 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9365, allocations: 4 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.9365, allocations: 7.984 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9366, allocations: 0 / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.9366, allocations: 4 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.9366, allocations: 0 / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9366, allocations: 0 / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.839e-05/0.9367, allocations: 142.7 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.9367, allocations: 81.06 kB / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.9367, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.9368, allocations: 15.92 kB / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.9369, allocations: 0 / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.9369, allocations: 0 / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.9369, allocations: 79.28 kB / 1.016 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9369, allocations: 0 / 1.016 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002054/0.9371, allocations: 8.031 kB / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001449/0.9373, allocations: 95.25 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.426e-05/0.9373, allocations: 11.81 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.9374, allocations: 0 / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.9374, allocations: 7.5 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.9376, allocations: 7.984 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.9378, allocations: 52.14 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.938, allocations: 0.6768 MB / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.9381, allocations: 0 / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.9381, allocations: 7.438 kB / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9381, allocations: 3.938 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.001843/0.94, allocations: 311.7 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches