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.0009374/0.0009374, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.0009826/0.0009826, allocations: 169 kB / 23.28 MB, free: 1.219 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.9406/0.9406, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.315/2.315, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 2.164e-06/2.164e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/2.033e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001339/0.001359, allocations: 0.83 MB / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.003014, allocations: 1.524 MB / 0.8921 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.003081, allocations: 7.938 kB / 0.8921 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.003205, allocations: 15.8 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.003254, allocations: 31.72 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.00401, allocations: 0.5028 MB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.0044, allocations: 487.1 kB / 0.8931 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.00452, allocations: 21.67 kB / 0.8931 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.004718, allocations: 263.7 kB / 0.8933 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.004884, allocations: 147.7 kB / 0.8935 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.004936, allocations: 44 kB / 0.8935 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.005023, allocations: 44 kB / 0.8936 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.005078, allocations: 47.83 kB / 0.8936 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.005186, allocations: 139.8 kB / 0.8937 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.005469, allocations: 351.1 kB / 0.8941 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005471, allocations: 3.938 kB / 0.8941 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005471, allocations: 0 / 0.8941 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.005476, allocations: 0 / 0.8941 GB, free: 5.289 MB / 0.8542 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.0005125/0.005989, allocations: 0.6837 MB / 0.8947 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.006027, allocations: 8.625 kB / 0.8948 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.006089, allocations: 36.84 kB / 0.8948 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.006287, allocations: 208.3 kB / 0.895 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.006303, allocations: 16.38 kB / 0.895 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.006342, allocations: 36.36 kB / 0.895 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.006464, allocations: 116.8 kB / 0.8952 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.006471, allocations: 192 / 0.8952 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.006484, allocations: 12.36 kB / 0.8952 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.006489, allocations: 384 / 0.8952 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.006527, allocations: 31.91 kB / 0.8952 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.007008, allocations: 0.6275 MB / 0.8958 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.00711, allocations: 79.02 kB / 0.8959 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.007138, allocations: 27.67 kB / 0.8959 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.007145, allocations: 0 / 0.8959 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.007279, allocations: 143 kB / 0.896 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.012e-06/0.00728, allocations: 0 / 0.896 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.000243/0.007523, allocations: 195.5 kB / 0.8962 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.007558, allocations: 59.34 kB / 0.8963 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.007669, allocations: 243.1 kB / 0.8965 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.007704, allocations: 45.69 kB / 0.8966 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.007785, allocations: 175.4 kB / 0.8967 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.007812, allocations: 31.75 kB / 0.8968 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.007927, allocations: 131.2 kB / 0.8969 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.008054, allocations: 0.5039 MB / 0.8974 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.008227, allocations: 252.4 kB / 0.8976 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.008432, allocations: 373.5 kB / 0.898 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.008665, allocations: 395.9 kB / 0.8984 GB, free: 500 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008668, allocations: 0 / 0.8984 GB, free: 500 kB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006885/0.009356, allocations: 0.7131 MB / 0.8991 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.162e-05/0.009428, allocations: 163 kB / 0.8992 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.009434, allocations: 4 kB / 0.8992 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.009446, allocations: 4 kB / 0.8992 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.201e-05/0.009468, allocations: 7.938 kB / 0.8992 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.009473, allocations: 7.984 kB / 0.8992 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.009755, allocations: 111.9 kB / 0.8993 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.00979, allocations: 31.92 kB / 0.8994 GB, free: 15.36 MB / 0.8698 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.0001086/0.009899, allocations: 188.5 kB / 0.8995 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.009919, allocations: 23.91 kB / 0.8996 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.009953, allocations: 21.8 kB / 0.8996 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.009955, allocations: 0 / 0.8996 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.009957, allocations: 4 kB / 0.8996 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.009963, allocations: 3.984 kB / 0.8996 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.01027, allocations: 433.7 kB / 0.9 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01027, allocations: 0 / 0.9 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.061e-05/0.01028, allocations: 7.922 kB / 0.9 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.01029, allocations: 4 kB / 0.9 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.0103, allocations: 4 kB / 0.9 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.0103, allocations: 4 kB / 0.9 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.0103, allocations: 0 / 0.9 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.01047, allocations: 310.1 kB / 0.9003 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.01048, allocations: 11.91 kB / 0.9003 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.01049, allocations: 12 kB / 0.9003 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.01053, allocations: 4 kB / 0.9004 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.01056, allocations: 19.97 kB / 0.9004 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01057, allocations: 15.92 kB / 0.9004 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.01062, allocations: 152.1 kB / 0.9005 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01062, allocations: 0 / 0.9005 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002179/0.01084, allocations: 87.89 kB / 0.9006 GB, free: 14.01 MB / 0.8698 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.0001061/0.01095, allocations: 112.4 kB / 0.9007 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.01135, allocations: 0.6563 MB / 0.9014 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01135, allocations: 0 / 0.9014 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.0114, allocations: 59.58 kB / 0.9014 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.01164, allocations: 52.58 kB / 0.9015 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.01198, allocations: 301.2 kB / 0.9018 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.01202, allocations: 79.92 kB / 0.9018 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.619e-05/0.01206, allocations: 17.48 kB / 0.9019 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.01226, allocations: 170 kB / 0.902 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of SimCode: time 6.91e-07/0.01226, allocations: 0 / 0.902 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of Templates: time 0.006391/0.01865, allocations: 5.515 MB / 0.9074 GB, free: 7.035 MB / 0.8698 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.240889931097627]