Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008512/0.0008512, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0007924/0.0007924, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8712/0.8712, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.684e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001952/0.001979, allocations: 0.8047 MB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.003994, allocations: 1.498 MB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.036e-05/0.004084, allocations: 3.938 kB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.004213, allocations: 27.73 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.00428, allocations: 27.78 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.005515, allocations: 0.5255 MB / 0.9533 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0006079/0.006123, allocations: 483.1 kB / 0.9538 GB, free: 104 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.006275, allocations: 29.67 kB / 0.9538 GB, free: 68 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.0066, allocations: 251.7 kB / 0.9541 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.00685, allocations: 147.6 kB / 0.9542 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.006922, allocations: 43.94 kB / 0.9542 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.007045, allocations: 59.88 kB / 0.9543 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.007112, allocations: 43.89 kB / 0.9543 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.007276, allocations: 131.8 kB / 0.9545 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.007832, allocations: 498.8 kB / 0.9549 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.007837, allocations: 0 / 0.9549 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.864e-06/0.007839, allocations: 0 / 0.9549 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.007847, allocations: 0 / 0.9549 GB, free: 14.91 MB / 0.9167 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.0007657/0.008612, allocations: 0.5683 MB / 0.9555 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.00866, allocations: 8.031 kB / 0.9555 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.008706, allocations: 46.73 kB / 0.9556 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.008798, allocations: 28.84 kB / 0.9556 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.009441, allocations: 201.4 kB / 0.9558 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.009473, allocations: 16.38 kB / 0.9558 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.00954, allocations: 36.36 kB / 0.9558 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.009807, allocations: 153.5 kB / 0.956 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.009818, allocations: 4.188 kB / 0.956 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.009835, allocations: 4.375 kB / 0.956 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.009844, allocations: 8.125 kB / 0.956 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.009981, allocations: 83.89 kB / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.01081, allocations: 0.5933 MB / 0.9566 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.011, allocations: 86.48 kB / 0.9567 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.01106, allocations: 44.83 kB / 0.9568 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.01107, allocations: 4 kB / 0.9568 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.01137, allocations: 155.3 kB / 0.9569 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.01137, allocations: 0 / 0.9569 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20): time 0.0004619/0.01184, allocations: 247.1 kB / 0.9572 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.01188, allocations: 63.34 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.01204, allocations: 191.4 kB / 0.9574 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.01208, allocations: 37.7 kB / 0.9574 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.01218, allocations: 124.6 kB / 0.9576 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.01222, allocations: 51.62 kB / 0.9576 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.0124, allocations: 117.6 kB / 0.9577 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.0125, allocations: 330.8 kB / 0.958 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.01288, allocations: 308.3 kB / 0.9583 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.01328, allocations: 398.5 kB / 0.9587 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.01371, allocations: 400.6 kB / 0.9591 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.01372, allocations: 4 kB / 0.9591 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009921/0.01471, allocations: 0.7772 MB / 0.9599 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.01481, allocations: 171.6 kB / 0.96 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.01482, allocations: 4 kB / 0.96 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.01484, allocations: 4 kB / 0.96 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.371e-05/0.01488, allocations: 15.86 kB / 0.96 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01488, allocations: 4 kB / 0.96 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.01544, allocations: 139.7 kB / 0.9602 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.01551, allocations: 39.91 kB / 0.9602 GB, free: 9.031 MB / 0.9167 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.0001678/0.01567, allocations: 157.5 kB / 0.9604 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.0157, allocations: 11.91 kB / 0.9604 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.01574, allocations: 21.8 kB / 0.9604 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01574, allocations: 11.94 kB / 0.9604 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.01575, allocations: 3.938 kB / 0.9604 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01576, allocations: 0 / 0.9604 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.01627, allocations: 471.2 kB / 0.9609 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01628, allocations: 0 / 0.9609 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.01629, allocations: 7.938 kB / 0.9609 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.0163, allocations: 3.938 kB / 0.9609 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01631, allocations: 4 kB / 0.9609 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01631, allocations: 0 / 0.9609 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01632, allocations: 3.984 kB / 0.9609 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.01659, allocations: 277.6 kB / 0.9611 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01661, allocations: 23.84 kB / 0.9612 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01664, allocations: 11.98 kB / 0.9612 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.0167, allocations: 0 / 0.9612 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.01676, allocations: 27.86 kB / 0.9612 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.01678, allocations: 16 kB / 0.9612 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.951e-05/0.01686, allocations: 119.2 kB / 0.9613 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01686, allocations: 0 / 0.9613 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003886/0.01725, allocations: 83.92 kB / 0.9614 GB, free: 7.727 MB / 0.9167 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.0006135/0.01786, allocations: 0.8224 MB / 0.9622 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009589/0.01882, allocations: 0.7093 MB / 0.9629 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.01882, allocations: 0 / 0.9629 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.01892, allocations: 67.91 kB / 0.963 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.01936, allocations: 56.47 kB / 0.963 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.02334, allocations: 3.618 MB / 0.9666 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.02345, allocations: 116.2 kB / 0.9667 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.591e-05/0.02354, allocations: 25.47 kB / 0.9667 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.02361, allocations: 56.48 kB / 0.9668 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of SimCode: time 7.92e-07/0.02361, allocations: 0 / 0.9668 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.04853, allocations: 7.634 MB / 0.9742 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/6.92, allocations: 0 / 0.9742 GB, free: 10.44 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.873264604248106]