Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001059/0.001059, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009761/0.0009761, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9773/0.9773, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.057/2.057, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.318e-06/4.318e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.244e-05/4.676e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001776/0.001823, allocations: 0.6707 MB / 0.8788 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003347, allocations: 1.235 MB / 0.8801 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.003403, allocations: 0 / 0.8801 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.00344, allocations: 0 / 0.8801 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.003544, allocations: 27.62 kB / 0.8801 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.004148, allocations: 208.9 kB / 0.8803 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.004364, allocations: 173 kB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004472, allocations: 4 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.004599, allocations: 91.88 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.004725, allocations: 55.16 kB / 0.8806 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.004758, allocations: 16 kB / 0.8806 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-05/0.004836, allocations: 27.98 kB / 0.8806 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.004866, allocations: 11.92 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.004938, allocations: 51.94 kB / 0.8807 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.005165, allocations: 131.6 kB / 0.8808 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.005168, allocations: 0 / 0.8808 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/0.00517, allocations: 0 / 0.8808 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.005178, allocations: 4 kB / 0.8808 GB, free: 3.676 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.000569/0.005747, allocations: 464.4 kB / 0.8813 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.005796, allocations: 9.688 kB / 0.8813 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.161e-05/0.005877, allocations: 12.94 kB / 0.8813 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.005987, allocations: 120.5 kB / 0.8814 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.006008, allocations: 8.375 kB / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.00603, allocations: 8.375 kB / 0.8814 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.006145, allocations: 47.61 kB / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.006157, allocations: 192 / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.006172, allocations: 384 / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.006184, allocations: 384 / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.228e-05/0.006216, allocations: 19.92 kB / 0.8815 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.006709, allocations: 331.7 kB / 0.8818 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.72e-05/0.006807, allocations: 39 kB / 0.8818 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.006835, allocations: 15.77 kB / 0.8818 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.006844, allocations: 0 / 0.8818 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.00698, allocations: 84.91 kB / 0.8819 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.006982, allocations: 0 / 0.8819 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002912/0.007273, allocations: 97.56 kB / 0.882 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.007332, allocations: 55.41 kB / 0.8821 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.007438, allocations: 177.9 kB / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.007463, allocations: 33.7 kB / 0.8823 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.007539, allocations: 142.9 kB / 0.8824 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.007552, allocations: 11.84 kB / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.007618, allocations: 59.33 kB / 0.8825 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.007761, allocations: 0.4884 MB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.007871, allocations: 111.4 kB / 0.8831 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.008005, allocations: 166.1 kB / 0.8832 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.008144, allocations: 165.8 kB / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.008146, allocations: 0 / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003198/0.008466, allocations: 324.2 kB / 0.8837 GB, free: 424 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.008524, allocations: 67.39 kB / 0.8838 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.008531, allocations: 0 / 0.8838 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.008551, allocations: 4 kB / 0.8838 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.237e-05/0.008574, allocations: 0 / 0.8838 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.008586, allocations: 7.984 kB / 0.8838 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.008788, allocations: 44.05 kB / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.008811, allocations: 11.98 kB / 0.8838 GB, free: 276 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,or1.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.358e-05/0.008904, allocations: 168.5 kB / 0.884 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.008916, allocations: 11.94 kB / 0.884 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.008946, allocations: 8.438 kB / 0.884 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.00895, allocations: 3.984 kB / 0.884 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.008954, allocations: 0 / 0.884 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008958, allocations: 0 / 0.884 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.00906, allocations: 136.6 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.009061, allocations: 0 / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-06/0.009067, allocations: 4 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.009069, allocations: 0 / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.009077, allocations: 7.938 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.009079, allocations: 3.984 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00908, allocations: 0 / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.009202, allocations: 112.4 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.009213, allocations: 11.89 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.009226, allocations: 3.938 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.57e-05/0.009242, allocations: 4 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.009285, allocations: 11.98 kB / 0.8843 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.009292, allocations: 4 kB / 0.8843 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.009352, allocations: 131.2 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009352, allocations: 0 / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001741/0.009526, allocations: 31.94 kB / 0.8844 GB, free: 15.56 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,or1.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.0001846/0.009711, allocations: 103.2 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000524/0.01023, allocations: 277.8 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.01024, allocations: 256 / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.01028, allocations: 32 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.01054, allocations: 16.14 kB / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.01098, allocations: 166.7 kB / 0.885 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.01103, allocations: 60.97 kB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.01107, allocations: 7.859 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.0111, allocations: 12.5 kB / 0.8851 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of SimCode: time 2.103e-06/0.0111, allocations: 0 / 0.8851 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.005398/0.0165, allocations: 2.246 MB / 0.8873 GB, free: 12.61 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.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.5891155251301825]