Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 106.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 443.5 MB / 0.7287 GB, free: 13.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8243, allocations: 160.7 MB / 1.213 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002154/0.8264, allocations: 0.8483 MB / 1.214 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.8284, allocations: 1.488 MB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.8284, allocations: 6.156 kB / 1.215 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.8285, allocations: 17.02 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.016e-05/0.8286, allocations: 33.28 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.8299, allocations: 0.5236 MB / 1.216 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.8304, allocations: 477.2 kB / 1.216 GB, free: 1.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.8305, allocations: 31.3 kB / 1.216 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.8307, allocations: 182.9 kB / 1.216 GB, free: 1.246 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.831, allocations: 175.4 kB / 1.217 GB, free: 1.121 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.8311, allocations: 40.34 kB / 1.217 GB, free: 1.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.8312, allocations: 60.05 kB / 1.217 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.8312, allocations: 43.17 kB / 1.217 GB, free: 1.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.8314, allocations: 157 kB / 1.217 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.8319, allocations: 419.5 kB / 1.217 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.8319, allocations: 0 / 1.217 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8319, allocations: 1.062 kB / 1.217 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.8319, allocations: 0 / 1.217 GB, free: 0.6641 MB / 0.92 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.0008176/0.8327, allocations: 0.6498 MB / 1.218 GB, free: 24 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.8328, allocations: 10.19 kB / 1.218 GB, free: 24 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.8328, allocations: 50.11 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.8329, allocations: 33.2 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.8333, allocations: 264.7 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.8333, allocations: 20 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.8334, allocations: 32.97 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.8336, allocations: 155.2 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.8336, allocations: 3.938 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.8337, allocations: 10.2 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.8337, allocations: 2.312 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.8338, allocations: 84.14 kB / 1.219 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.8348, allocations: 0.7076 MB / 1.219 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.835, allocations: 162.3 kB / 1.219 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.8351, allocations: 47.58 kB / 1.219 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.8351, allocations: 5.156 kB / 1.219 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.8354, allocations: 148.7 kB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.8354, allocations: 0 / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004576/0.8358, allocations: 249 kB / 1.22 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.8359, allocations: 59.91 kB / 1.22 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.836, allocations: 185.2 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.8361, allocations: 38.73 kB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.8362, allocations: 123.1 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.8363, allocations: 47.36 kB / 1.22 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.8365, allocations: 112.6 kB / 1.22 GB, free: 14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8366, allocations: 327 kB / 1.221 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.8369, allocations: 153.5 kB / 1.221 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.8373, allocations: 243 kB / 1.221 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.8378, allocations: 409 kB / 1.221 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8378, allocations: 5.188 kB / 1.221 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001002/0.8388, allocations: 0.6262 MB / 1.222 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.8389, allocations: 168 kB / 1.222 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.8389, allocations: 3.094 kB / 1.222 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.8389, allocations: 4.344 kB / 1.222 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.598e-05/0.839, allocations: 9.688 kB / 1.222 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.839, allocations: 12.42 kB / 1.222 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007317/0.8397, allocations: 139.4 kB / 1.222 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.8398, allocations: 37.97 kB / 1.222 GB, free: 12.4 MB / 0.9356 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.0001896/0.84, allocations: 160.2 kB / 1.223 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.84, allocations: 26.11 kB / 1.223 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.8401, allocations: 17.22 kB / 1.223 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8401, allocations: 2.188 kB / 1.223 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8401, allocations: 0.7188 kB / 1.223 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.8401, allocations: 4.078 kB / 1.223 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.8407, allocations: 0.5097 MB / 1.223 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8407, allocations: 1.25 kB / 1.223 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.8407, allocations: 3.656 kB / 1.223 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8407, allocations: 0 / 1.223 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.8407, allocations: 10.7 kB / 1.223 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.8408, allocations: 1.375 kB / 1.223 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8408, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.8411, allocations: 285.8 kB / 1.223 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.8411, allocations: 97.5 kB / 1.224 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.8412, allocations: 6.469 kB / 1.224 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.8412, allocations: 1.594 kB / 1.224 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.8413, allocations: 23.81 kB / 1.224 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.8413, allocations: 5.844 kB / 1.224 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.479e-05/0.8414, allocations: 123.3 kB / 1.224 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8414, allocations: 0 / 1.224 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000367/0.8418, allocations: 81.94 kB / 1.224 GB, free: 11.33 MB / 0.9356 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.0007221/0.8425, allocations: 0.8348 MB / 1.225 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007863/0.8433, allocations: 0.5565 MB / 1.225 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8433, allocations: 4.188 kB / 1.225 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8434, allocations: 69.25 kB / 1.225 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.8438, allocations: 49.69 kB / 1.225 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.8477, allocations: 3.005 MB / 1.228 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.8481, allocations: 0.7328 MB / 1.229 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.376e-05/0.8482, allocations: 24.75 kB / 1.229 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.8483, allocations: 61.22 kB / 1.229 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of SimCode: time 9.32e-07/0.8483, allocations: 0 / 1.229 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.8783, allocations: 6.381 MB / 1.235 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/9.235, allocations: 9.531 kB / 1.235 GB, free: 0.8203 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.939659575000405]