Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001044/0.001044, allocations: 92.22 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.001002/0.001002, allocations: 165 kB / 23.02 MB, free: 1.555 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.9258/0.9258, allocations: 177.1 MB / 203.4 MB, free: 5.562 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.203/2.203, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.012e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001328/0.001348, allocations: 0.831 MB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.002765, allocations: 1.532 MB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.002821, allocations: 1.562 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.00294, allocations: 27.73 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.002989, allocations: 36.67 kB / 0.8806 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.003816, allocations: 0.5018 MB / 0.8811 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.004208, allocations: 491.9 kB / 0.8815 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.004327, allocations: 30.53 kB / 0.8816 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.00453, allocations: 255.7 kB / 0.8818 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.004717, allocations: 144.7 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.973e-05/0.004796, allocations: 43.94 kB / 0.882 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.004919, allocations: 55.98 kB / 0.882 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.00498, allocations: 40.78 kB / 0.8821 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.005107, allocations: 135.8 kB / 0.8822 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.005415, allocations: 359.1 kB / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005417, allocations: 1.531 kB / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005418, allocations: 4 kB / 0.8825 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.005422, allocations: 0 / 0.8825 GB, free: 1.84 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008551/0.006277, allocations: 0.6682 MB / 0.8832 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.006312, allocations: 12.97 kB / 0.8832 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.006404, allocations: 36.83 kB / 0.8832 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.006641, allocations: 210 kB / 0.8834 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.006662, allocations: 20.36 kB / 0.8835 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.006703, allocations: 31.94 kB / 0.8835 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.006865, allocations: 125.5 kB / 0.8836 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.006876, allocations: 192 / 0.8836 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.006889, allocations: 4.375 kB / 0.8836 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.006898, allocations: 4.375 kB / 0.8836 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.309e-05/0.006961, allocations: 43.84 kB / 0.8837 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.007534, allocations: 0.6465 MB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.007649, allocations: 79.03 kB / 0.8844 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.079e-05/0.00769, allocations: 28.3 kB / 0.8844 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.007697, allocations: 4 kB / 0.8844 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.007846, allocations: 154.5 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.007847, allocations: 0 / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003075/0.008154, allocations: 211.9 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.008185, allocations: 59.34 kB / 0.8848 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.00832, allocations: 258.1 kB / 0.8851 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.008355, allocations: 41.7 kB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.008436, allocations: 167.4 kB / 0.8853 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.008461, allocations: 39.75 kB / 0.8853 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.00858, allocations: 123.3 kB / 0.8854 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.008695, allocations: 0.5001 MB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.008934, allocations: 280.4 kB / 0.8862 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.009206, allocations: 397.5 kB / 0.8865 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.009493, allocations: 412.4 kB / 0.8869 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.009496, allocations: 0 / 0.8869 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006441/0.01014, allocations: 0.752 MB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/0.01021, allocations: 156.8 kB / 0.8878 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01021, allocations: 11.98 kB / 0.8878 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.01023, allocations: 4 kB / 0.8878 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.347e-05/0.01025, allocations: 7.938 kB / 0.8878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01026, allocations: 7.938 kB / 0.8879 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.01057, allocations: 103.7 kB / 0.888 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.01061, allocations: 39.97 kB / 0.888 GB, free: 11.73 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001059/0.01071, allocations: 192.5 kB / 0.8882 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.01073, allocations: 23.86 kB / 0.8882 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.01077, allocations: 17.81 kB / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.01077, allocations: 0 / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.01077, allocations: 3.984 kB / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.01078, allocations: 3.938 kB / 0.8882 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.0111, allocations: 465.3 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01111, allocations: 0 / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.01112, allocations: 11.94 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01112, allocations: 0 / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01113, allocations: 7.984 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01113, allocations: 3.938 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01113, allocations: 0 / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.01132, allocations: 317.1 kB / 0.889 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.01133, allocations: 11.91 kB / 0.889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.01134, allocations: 11.94 kB / 0.889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.525e-05/0.01138, allocations: 3.938 kB / 0.889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.01143, allocations: 19.97 kB / 0.889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01144, allocations: 15.98 kB / 0.889 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.01149, allocations: 159.1 kB / 0.8892 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01149, allocations: 0 / 0.8892 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002355/0.01173, allocations: 79.89 kB / 0.8893 GB, free: 10.34 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001168/0.01185, allocations: 108.4 kB / 0.8894 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007672/0.01261, allocations: 0.6777 MB / 0.89 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01261, allocations: 4 kB / 0.89 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.01268, allocations: 65.27 kB / 0.8901 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.01296, allocations: 55.92 kB / 0.8902 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.01339, allocations: 323.4 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.632e-05/0.01344, allocations: 75.98 kB / 0.8905 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.459e-05/0.01348, allocations: 25.45 kB / 0.8906 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.01351, allocations: 20.5 kB / 0.8906 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.01351, allocations: 0 / 0.8906 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of Templates: time 0.005998/0.01951, allocations: 5.083 MB / 0.8956 GB, free: 3.879 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.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.673184122890234]