Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0009601/0.0009601, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001055/0.001055, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 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.9337/0.9337, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.04/2.04, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.699e-05, allocations: 6.438 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001185/0.001212, allocations: 0.6706 MB / 0.8788 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.002523, allocations: 1.232 MB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.002572, allocations: 4 kB / 0.8801 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.002603, allocations: 4.594 kB / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.002681, allocations: 15.08 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.003255, allocations: 208.8 kB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.003721, allocations: 172.8 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.003826, allocations: 7.984 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.00396, allocations: 101.2 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.004064, allocations: 51.91 kB / 0.8806 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.004091, allocations: 16 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.004154, allocations: 20 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.004177, allocations: 16.92 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.004235, allocations: 47.95 kB / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.004411, allocations: 139 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.155e-06/0.004413, allocations: 0 / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004414, allocations: 0 / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.004419, allocations: 0 / 0.8808 GB, free: 3.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004699/0.004889, allocations: 475.8 kB / 0.8813 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.004932, allocations: 8.031 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.004992, allocations: 12.89 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.147e-05/0.005074, allocations: 116.5 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.005087, allocations: 4.375 kB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.005109, allocations: 8.969 kB / 0.8814 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.424e-05/0.005193, allocations: 42.25 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.0052, allocations: 1.719 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.005213, allocations: 8.359 kB / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005219, allocations: 384 / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.52e-05/0.005244, allocations: 11.94 kB / 0.8815 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.005667, allocations: 335.6 kB / 0.8818 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.00575, allocations: 39.05 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.00578, allocations: 11.69 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.005789, allocations: 3.938 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.005902, allocations: 93.03 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.005903, allocations: 0 / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002531/0.006156, allocations: 97.56 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.006204, allocations: 55.41 kB / 0.8821 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.006319, allocations: 173.9 kB / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.006344, allocations: 37.7 kB / 0.8823 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.006418, allocations: 142.8 kB / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.006434, allocations: 11.94 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.006507, allocations: 55.34 kB / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.006657, allocations: 0.4884 MB / 0.883 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.006785, allocations: 107.4 kB / 0.8831 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.006915, allocations: 173 kB / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.007048, allocations: 157.8 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.007051, allocations: 4 kB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003113/0.007363, allocations: 320.2 kB / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.007409, allocations: 73.73 kB / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.007417, allocations: 0 / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.007432, allocations: 0 / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.99e-05/0.007452, allocations: 4 kB / 0.8838 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.007461, allocations: 3.938 kB / 0.8838 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.007645, allocations: 52.03 kB / 0.8838 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.007664, allocations: 8 kB / 0.8838 GB, free: 220 kB / 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.744e-05/0.007762, allocations: 172.5 kB / 0.884 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.007774, allocations: 7.938 kB / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.0078, allocations: 12.44 kB / 0.884 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007803, allocations: 0 / 0.884 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.007807, allocations: 0 / 0.884 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.007811, allocations: 0 / 0.884 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.97e-05/0.007911, allocations: 128.6 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.007914, allocations: 11.98 kB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-06/0.007919, allocations: 0 / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.007921, allocations: 0 / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.007931, allocations: 3.938 kB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.007934, allocations: 4 kB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007936, allocations: 0 / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.008044, allocations: 120.3 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.008051, allocations: 3.953 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.008065, allocations: 11.94 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.008074, allocations: 0 / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.008112, allocations: 7.984 kB / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.008117, allocations: 4 kB / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.008159, allocations: 135.2 kB / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008159, allocations: 0 / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001553/0.008315, allocations: 28 kB / 0.8844 GB, free: 15.51 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 (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.0001119/0.008426, allocations: 103.2 kB / 0.8845 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.008675, allocations: 273.8 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.008677, allocations: 0 / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.008712, allocations: 35.61 kB / 0.8848 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.008879, allocations: 20.91 kB / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.009151, allocations: 154.8 kB / 0.885 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.009185, allocations: 55.36 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.009212, allocations: 19.83 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.00923, allocations: 8.5 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.009231, allocations: 0 / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of Templates: time 0.003986/0.01322, allocations: 2.245 MB / 0.8873 GB, free: 12.56 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.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.211898785084486]