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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9342/0.9342, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.046/2.046, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.657e-05, allocations: 12.58 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001621/0.001647, allocations: 0.7558 MB / 0.8802 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.003097, allocations: 1.189 MB / 0.8813 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.003149, allocations: 1.844 kB / 0.8813 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.003177, allocations: 3.938 kB / 0.8813 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.532e-05/0.003272, allocations: 14.98 kB / 0.8813 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.003737, allocations: 128.9 kB / 0.8815 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.003932, allocations: 115.8 kB / 0.8816 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.004031, allocations: 21.06 kB / 0.8816 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.004155, allocations: 67.83 kB / 0.8816 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.004253, allocations: 35.94 kB / 0.8817 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.004278, allocations: 8.656 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.004346, allocations: 19.98 kB / 0.8817 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.004376, allocations: 12.56 kB / 0.8817 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.004422, allocations: 35.95 kB / 0.8818 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.004577, allocations: 99.44 kB / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004579, allocations: 0 / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.8e-07/0.004579, allocations: 0 / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.004584, allocations: 0 / 0.8819 GB, free: 3.508 MB / 0.8386 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.0004661/0.00505, allocations: 430.1 kB / 0.8823 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.005094, allocations: 12.03 kB / 0.8823 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.005142, allocations: 16.83 kB / 0.8823 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.005247, allocations: 128.4 kB / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.005261, allocations: 384 / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.005275, allocations: 14.06 kB / 0.8824 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.005382, allocations: 58.94 kB / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.00539, allocations: 192 / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.005396, allocations: 384 / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.005402, allocations: 8.312 kB / 0.8825 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.00543, allocations: 16.89 kB / 0.8825 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.005783, allocations: 289.4 kB / 0.8828 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.005875, allocations: 39.11 kB / 0.8828 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.005899, allocations: 20.88 kB / 0.8828 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.005906, allocations: 0 / 0.8828 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.006009, allocations: 81.05 kB / 0.8829 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.00601, allocations: 1.094 kB / 0.8829 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001925/0.006202, allocations: 93.58 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.006241, allocations: 57.94 kB / 0.8831 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.00634, allocations: 173.9 kB / 0.8832 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.006361, allocations: 33.64 kB / 0.8833 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.006433, allocations: 138.8 kB / 0.8834 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.006454, allocations: 19.89 kB / 0.8834 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.006511, allocations: 43.34 kB / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.006694, allocations: 0.4923 MB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.006765, allocations: 59.67 kB / 0.884 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.53e-05/0.00685, allocations: 100.1 kB / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.006964, allocations: 116.8 kB / 0.8842 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006966, allocations: 4 kB / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002192/0.007185, allocations: 194.9 kB / 0.8844 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.007223, allocations: 41.64 kB / 0.8844 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.00723, allocations: 4.5 kB / 0.8844 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.078e-06/0.007239, allocations: 0 / 0.8844 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.007305, allocations: 13.05 kB / 0.8844 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.007312, allocations: 7.984 kB / 0.8845 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.007406, allocations: 33.45 kB / 0.8845 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.00742, allocations: 8 kB / 0.8845 GB, free: 0.5312 MB / 0.8386 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.877e-05/0.007519, allocations: 170.2 kB / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.007534, allocations: 15.89 kB / 0.8847 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.007564, allocations: 12.36 kB / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007567, allocations: 4 kB / 0.8847 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.007569, allocations: 0 / 0.8847 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.007574, allocations: 0 / 0.8847 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.007832, allocations: 310 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007833, allocations: 0 / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.007861, allocations: 11.98 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.007864, allocations: 7.938 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.00787, allocations: 0 / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007871, allocations: 4 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007872, allocations: 0 / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.008007, allocations: 231.8 kB / 0.8852 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-06/0.008017, allocations: 7.891 kB / 0.8852 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.00803, allocations: 4 kB / 0.8852 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.399e-05/0.008064, allocations: 0 / 0.8852 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.008099, allocations: 11.98 kB / 0.8852 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.008103, allocations: 0 / 0.8852 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.008151, allocations: 135.2 kB / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008151, allocations: 0 / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001863/0.008337, allocations: 24 kB / 0.8854 GB, free: 15.54 MB / 0.8542 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.000105/0.008442, allocations: 111.2 kB / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.008631, allocations: 152.7 kB / 0.8856 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.008634, allocations: 0 / 0.8856 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.008674, allocations: 35.59 kB / 0.8857 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.008868, allocations: 11.98 kB / 0.8857 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.009155, allocations: 167 kB / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.009199, allocations: 64 kB / 0.8859 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.009223, allocations: 7.859 kB / 0.8859 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.009316, allocations: 86.19 kB / 0.886 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of SimCode: time 1.623e-06/0.009318, allocations: 3.938 kB / 0.886 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.003827/0.01315, allocations: 1.812 MB / 0.8878 GB, free: 13.05 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.478609547019005]