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.001152/0.001152, allocations: 77.09 kB / 20.66 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.00111/0.00111, allocations: 169 kB / 24.06 MB, free: 456 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 1.057/1.057, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.166/2.166, allocations: 429.5 MB / 0.6743 GB, free: 3.871 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 5.43e-06/5.43e-06, allocations: 7.984 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.539e-05, allocations: 5.125 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002012/0.002047, allocations: 0.6662 MB / 0.8801 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.00372, allocations: 1.233 MB / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.003776, allocations: 4 kB / 0.8813 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.003808, allocations: 5 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.003892, allocations: 13.44 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.004429, allocations: 212.8 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.00471, allocations: 172.7 kB / 0.8817 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.004802, allocations: 11.98 kB / 0.8817 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.004959, allocations: 93.05 kB / 0.8818 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.005095, allocations: 47.86 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.005132, allocations: 16 kB / 0.8818 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.005223, allocations: 32.56 kB / 0.8818 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.005246, allocations: 4 kB / 0.8819 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.005306, allocations: 64.69 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.005497, allocations: 127.7 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.0055, allocations: 3.438 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005501, allocations: 0 / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.005505, allocations: 0 / 0.882 GB, free: 3.324 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.0004858/0.005991, allocations: 471.8 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.00603, allocations: 8.031 kB / 0.8825 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.006091, allocations: 16.89 kB / 0.8825 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.006193, allocations: 112.6 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.006212, allocations: 4.375 kB / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.00624, allocations: 12.31 kB / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.313e-05/0.006323, allocations: 46.83 kB / 0.8827 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.006331, allocations: 192 / 0.8827 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.006339, allocations: 1.906 kB / 0.8827 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006345, allocations: 4.375 kB / 0.8827 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.006372, allocations: 7.938 kB / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.006781, allocations: 320.2 kB / 0.883 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.006853, allocations: 39.03 kB / 0.883 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.00687, allocations: 11.69 kB / 0.883 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.006877, allocations: 0 / 0.883 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.006992, allocations: 85.05 kB / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.006994, allocations: 0 / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002036/0.007197, allocations: 93.55 kB / 0.8832 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.007237, allocations: 51.41 kB / 0.8833 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.007349, allocations: 178.2 kB / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.007379, allocations: 29.7 kB / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.007448, allocations: 146.8 kB / 0.8836 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.007465, allocations: 11.94 kB / 0.8836 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.007559, allocations: 55.33 kB / 0.8837 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.007703, allocations: 0.4884 MB / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.007822, allocations: 103.3 kB / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.007955, allocations: 145.8 kB / 0.8844 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.008109, allocations: 157.9 kB / 0.8845 GB, free: 496 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.008113, allocations: 8 kB / 0.8845 GB, free: 488 kB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003326/0.008446, allocations: 300.2 kB / 0.8848 GB, free: 156 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.008486, allocations: 71.33 kB / 0.8849 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.008491, allocations: 4 kB / 0.8849 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.0085, allocations: 0 / 0.8849 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.97e-05/0.00852, allocations: 7.938 kB / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.008522, allocations: 0 / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.008675, allocations: 44.05 kB / 0.885 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.008696, allocations: 16.05 kB / 0.885 GB, free: 0 / 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.033e-05/0.008786, allocations: 168.5 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.008798, allocations: 11.98 kB / 0.8851 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.008819, allocations: 8.375 kB / 0.8851 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008821, allocations: 4 kB / 0.8851 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008823, allocations: 3.938 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008826, allocations: 0 / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.335e-05/0.008899, allocations: 113.2 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.008902, allocations: 3.984 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-06/0.008906, allocations: 4 kB / 0.8853 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008909, allocations: 4 kB / 0.8853 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.008914, allocations: 4 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.008917, allocations: 7.922 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008919, allocations: 3.938 kB / 0.8853 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.00902, allocations: 108.4 kB / 0.8854 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.009027, allocations: 3.953 kB / 0.8854 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-06/0.009036, allocations: 8 kB / 0.8854 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.009047, allocations: 0 / 0.8854 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.009072, allocations: 11.92 kB / 0.8854 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.009075, allocations: 0 / 0.8854 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.009113, allocations: 135.2 kB / 0.8855 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009113, allocations: 0 / 0.8855 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001636/0.009277, allocations: 32 kB / 0.8856 GB, free: 15.31 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.0001048/0.009382, allocations: 99.19 kB / 0.8857 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.009577, allocations: 269.8 kB / 0.8859 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009578, allocations: 0 / 0.8859 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.009603, allocations: 23.67 kB / 0.8859 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.00976, allocations: 20.78 kB / 0.886 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.009977, allocations: 154.7 kB / 0.8861 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.01, allocations: 59.34 kB / 0.8862 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.978e-05/0.01002, allocations: 7.859 kB / 0.8862 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.01012, allocations: 106.2 kB / 0.8863 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.01012, allocations: 0 / 0.8863 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.003605/0.01373, allocations: 2.289 MB / 0.8885 GB, free: 12.25 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.545934271067381]