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.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.002244/0.002244, allocations: 109.6 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.002573/0.002573, 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.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.153/3.153, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 64.17 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3231, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002072/0.3252, allocations: 0.8321 MB / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3271, allocations: 1.486 MB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.3272, allocations: 4 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.3273, allocations: 19.73 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.3273, allocations: 35.72 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3285, allocations: 0.5151 MB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.3291, allocations: 479.1 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3292, allocations: 29.47 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3294, allocations: 187.7 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.3297, allocations: 175.5 kB / 1.308 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.3298, allocations: 40 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3299, allocations: 55.98 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.33, allocations: 43.84 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.3301, allocations: 159.5 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.3306, allocations: 411 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3306, allocations: 0 / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3306, allocations: 0 / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3306, allocations: 0 / 1.308 GB, free: 13.09 MB / 1.014 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.0008111/0.3314, allocations: 0.6553 MB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3315, allocations: 12.86 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.3315, allocations: 46.67 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.3316, allocations: 32.8 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.332, allocations: 257.1 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.332, allocations: 20.36 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.3321, allocations: 28.38 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.3323, allocations: 151.8 kB / 1.309 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3323, allocations: 11.94 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3324, allocations: 3.984 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3324, allocations: 4 kB / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3325, allocations: 86.17 kB / 1.31 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/0.3334, allocations: 0.7031 MB / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3337, allocations: 171.6 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.3337, allocations: 40.84 kB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.3337, allocations: 0 / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.334, allocations: 161.1 kB / 1.311 GB, free: 10.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.334, allocations: 0 / 1.311 GB, free: 10.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.0004734/0.3345, allocations: 250.9 kB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.3346, allocations: 59.41 kB / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3347, allocations: 183.2 kB / 1.311 GB, free: 9.988 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.3348, allocations: 41.7 kB / 1.311 GB, free: 9.941 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3349, allocations: 124.5 kB / 1.311 GB, free: 9.816 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.335, allocations: 43.73 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.3352, allocations: 113.6 kB / 1.311 GB, free: 9.656 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3353, allocations: 334.8 kB / 1.312 GB, free: 9.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.3356, allocations: 151.9 kB / 1.312 GB, free: 9.172 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.336, allocations: 246.6 kB / 1.312 GB, free: 8.895 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.3365, allocations: 417.8 kB / 1.312 GB, free: 8.422 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3365, allocations: 4 kB / 1.313 GB, free: 8.418 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001039/0.3376, allocations: 0.6226 MB / 1.313 GB, free: 7.758 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.3377, allocations: 168.4 kB / 1.313 GB, free: 7.562 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.3377, allocations: 8.328 kB / 1.313 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3377, allocations: 8 kB / 1.313 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.225e-05/0.3378, allocations: 8 kB / 1.313 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3378, allocations: 7.938 kB / 1.313 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.3385, allocations: 139.7 kB / 1.313 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/0.3385, allocations: 31.97 kB / 1.313 GB, free: 7.363 MB / 1.014 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.0001713/0.3387, allocations: 157.8 kB / 1.314 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.3387, allocations: 19.94 kB / 1.314 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.3388, allocations: 21.8 kB / 1.314 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.3388, allocations: 4 kB / 1.314 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3388, allocations: 4 kB / 1.314 GB, free: 7.145 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3388, allocations: 0 / 1.314 GB, free: 7.145 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.3394, allocations: 0.5099 MB / 1.314 GB, free: 6.578 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3394, allocations: 0 / 1.314 GB, free: 6.578 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.3394, allocations: 11.98 kB / 1.314 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3394, allocations: 0 / 1.314 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3394, allocations: 4 kB / 1.314 GB, free: 6.562 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3394, allocations: 0 / 1.314 GB, free: 6.562 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3394, allocations: 0 / 1.314 GB, free: 6.562 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3398, allocations: 292.7 kB / 1.314 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.3398, allocations: 93.02 kB / 1.315 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3398, allocations: 4 kB / 1.315 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.3399, allocations: 7.984 kB / 1.315 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.34, allocations: 15.98 kB / 1.315 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.34, allocations: 15.98 kB / 1.315 GB, free: 6.109 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.285e-05/0.3401, allocations: 119.2 kB / 1.315 GB, free: 5.992 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3401, allocations: 3.938 kB / 1.315 GB, free: 5.988 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003572/0.3404, allocations: 79.94 kB / 1.315 GB, free: 5.91 MB / 1.014 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.0007009/0.3411, allocations: 0.8323 MB / 1.316 GB, free: 5.055 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00076/0.3419, allocations: 0.5503 MB / 1.316 GB, free: 4.445 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3419, allocations: 0 / 1.316 GB, free: 4.445 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.342, allocations: 64.77 kB / 1.316 GB, free: 4.383 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3424, allocations: 48.31 kB / 1.316 GB, free: 4.336 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.3464, allocations: 3.026 MB / 1.319 GB, free: 1.125 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3467, allocations: 0.7203 MB / 1.32 GB, free: 388 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.3468, allocations: 29.53 kB / 1.32 GB, free: 360 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.3469, allocations: 59.42 kB / 1.32 GB, free: 304 kB / 1.014 GB Notification: Performance of SimCode: time 6.42e-07/0.3469, allocations: 0 / 1.32 GB, free: 304 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.3751, allocations: 6.381 MB / 1.326 GB, free: 10.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/8.827, allocations: 11.8 kB / 1.326 GB, free: 10.06 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 840.0] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.460698598995805]