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.001069/0.001069, allocations: 73.88 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.001213/0.001213, allocations: 173 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 1.023/1.023, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.311/2.311, 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.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.743e-06/1.743e-06, allocations: 0 / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.646e-05, allocations: 6.312 kB / 0.8794 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002115/0.002142, allocations: 0.8294 MB / 0.8802 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.004321, allocations: 1.533 MB / 0.8817 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.004408, allocations: 7.938 kB / 0.8817 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.004551, allocations: 17.31 kB / 0.8817 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.95e-05/0.004631, allocations: 36.84 kB / 0.8818 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.005721, allocations: 0.5046 MB / 0.8823 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.006133, allocations: 491 kB / 0.8827 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.00625, allocations: 25.66 kB / 0.8828 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.006441, allocations: 259.7 kB / 0.883 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.00661, allocations: 139.6 kB / 0.8831 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.006659, allocations: 44 kB / 0.8832 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.006747, allocations: 47.98 kB / 0.8832 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.006795, allocations: 44.8 kB / 0.8833 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.006904, allocations: 139.8 kB / 0.8834 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.007199, allocations: 356.1 kB / 0.8837 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.007201, allocations: 0 / 0.8837 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.007202, allocations: 0 / 0.8837 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.007207, allocations: 1.125 kB / 0.8837 GB, free: 1.535 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.0005239/0.00773, allocations: 0.6798 MB / 0.8844 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.007764, allocations: 8.031 kB / 0.8844 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.007838, allocations: 41.91 kB / 0.8845 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.008045, allocations: 205.3 kB / 0.8846 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.008062, allocations: 16.38 kB / 0.8847 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.008101, allocations: 31.81 kB / 0.8847 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.008222, allocations: 119.2 kB / 0.8848 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.00823, allocations: 192 / 0.8848 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.008241, allocations: 4.375 kB / 0.8848 GB, free: 344 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.008248, allocations: 4.375 kB / 0.8848 GB, free: 340 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.006e-05/0.008288, allocations: 34.95 kB / 0.8849 GB, free: 308 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.008795, allocations: 0.6314 MB / 0.8855 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.008886, allocations: 64.03 kB / 0.8855 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.008916, allocations: 27.67 kB / 0.8856 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.008923, allocations: 4.562 kB / 0.8856 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.009062, allocations: 148 kB / 0.8857 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.009064, allocations: 0 / 0.8857 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002575/0.009321, allocations: 191.5 kB / 0.8859 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.009354, allocations: 60.64 kB / 0.8859 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.009462, allocations: 246.1 kB / 0.8862 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.009498, allocations: 41.7 kB / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.009577, allocations: 171.4 kB / 0.8864 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.009601, allocations: 41.02 kB / 0.8864 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.009724, allocations: 127.2 kB / 0.8865 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.009842, allocations: 0.5116 MB / 0.887 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.01003, allocations: 260.4 kB / 0.8873 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.01025, allocations: 365.5 kB / 0.8876 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.01049, allocations: 400.6 kB / 0.888 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01049, allocations: 0 / 0.888 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006251/0.01112, allocations: 0.713 MB / 0.8887 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.907e-05/0.0112, allocations: 156.5 kB / 0.8889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.0112, allocations: 4 kB / 0.8889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01122, allocations: 4.344 kB / 0.8889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.329e-05/0.01124, allocations: 15.92 kB / 0.8889 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01124, allocations: 4 kB / 0.8889 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.01155, allocations: 99.8 kB / 0.889 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.0116, allocations: 39.91 kB / 0.889 GB, free: 11.61 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.0001184/0.01171, allocations: 188.5 kB / 0.8892 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.01174, allocations: 31.86 kB / 0.8892 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.01177, allocations: 13.81 kB / 0.8892 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01177, allocations: 4 kB / 0.8893 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01177, allocations: 0 / 0.8893 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.01178, allocations: 3.984 kB / 0.8893 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.0121, allocations: 429.7 kB / 0.8897 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.0121, allocations: 0 / 0.8897 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-06/0.01211, allocations: 4 kB / 0.8897 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.01211, allocations: 4 kB / 0.8897 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01212, allocations: 11.98 kB / 0.8897 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.01212, allocations: 0 / 0.8897 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01213, allocations: 3.938 kB / 0.8897 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.0123, allocations: 309 kB / 0.89 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.01231, allocations: 11.91 kB / 0.89 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01232, allocations: 7.984 kB / 0.89 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.01236, allocations: 4 kB / 0.89 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.0124, allocations: 15.97 kB / 0.89 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01241, allocations: 19.92 kB / 0.89 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.167e-05/0.01246, allocations: 155.1 kB / 0.8902 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01246, allocations: 3.938 kB / 0.8902 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002373/0.0127, allocations: 83.89 kB / 0.8903 GB, free: 10.27 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.0001262/0.01282, allocations: 116.3 kB / 0.8904 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.01327, allocations: 0.6388 MB / 0.891 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01327, allocations: 0 / 0.891 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.01332, allocations: 73.3 kB / 0.8911 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.01359, allocations: 44 kB / 0.8911 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01397, allocations: 307.3 kB / 0.8914 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.671e-05/0.01401, allocations: 79.92 kB / 0.8915 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.01406, allocations: 21.48 kB / 0.8915 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.01427, allocations: 162.1 kB / 0.8917 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/0.01427, allocations: 0 / 0.8917 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of Templates: time 0.006549/0.02082, allocations: 5.631 MB / 0.8972 GB, free: 3.18 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: 6.101068547926843]