Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001579/0.001579, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.002012/0.002012, allocations: 218.5 kB / 22.25 MB, free: 5.258 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.214/3.214, allocations: 0.49 GB / 0.7951 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 73.88 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3517, allocations: 176.1 MB / 1.326 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002267/0.3539, allocations: 0.8067 MB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.3561, allocations: 1.498 MB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.3562, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.3563, allocations: 19.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/0.3564, allocations: 43.58 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3578, allocations: 0.5145 MB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006211/0.3585, allocations: 479.2 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3586, allocations: 25.66 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.3588, allocations: 191.8 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.3591, allocations: 183.4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/0.3592, allocations: 40 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3593, allocations: 44 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.3594, allocations: 43.84 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3596, allocations: 151.6 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.3601, allocations: 415 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3601, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3601, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3601, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 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.0008168/0.3609, allocations: 0.5778 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3609, allocations: 16.03 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.361, allocations: 42.73 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.657e-05/0.3611, allocations: 32.84 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.3614, allocations: 202.2 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3615, allocations: 16.38 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/0.3615, allocations: 32.36 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.3618, allocations: 157.5 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3618, allocations: 7.875 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3618, allocations: 8 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.3618, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.362, allocations: 79.95 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.3629, allocations: 0.5971 MB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3631, allocations: 90.48 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.3631, allocations: 44.92 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3632, allocations: 7.922 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.3634, allocations: 163.4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.3634, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004872/0.3639, allocations: 251 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3639, allocations: 55.41 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3641, allocations: 190.7 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.3642, allocations: 37.7 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3643, allocations: 128.6 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.3644, allocations: 39.75 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.3646, allocations: 113.6 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3647, allocations: 326.8 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.3651, allocations: 308.4 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.3656, allocations: 394.6 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.3661, allocations: 406.1 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3661, allocations: 0 / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001158/0.3673, allocations: 0.791 MB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.3674, allocations: 166.1 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3674, allocations: 4 kB / 1.335 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3674, allocations: 4 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.656e-05/0.3675, allocations: 7.984 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3675, allocations: 8.281 kB / 1.335 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/0.3682, allocations: 135.7 kB / 1.335 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.3683, allocations: 35.97 kB / 1.335 GB, free: 7.316 MB / 1.029 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.0002104/0.3685, allocations: 162 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.3686, allocations: 19.84 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.3686, allocations: 17.81 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3686, allocations: 7.938 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.3686, allocations: 3.984 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3686, allocations: 0 / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.3693, allocations: 474.7 kB / 1.336 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3693, allocations: 0 / 1.336 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.3693, allocations: 15.92 kB / 1.336 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3693, allocations: 0 / 1.336 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3693, allocations: 8 kB / 1.336 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3693, allocations: 0 / 1.336 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3693, allocations: 0 / 1.336 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.3696, allocations: 285.2 kB / 1.336 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.3696, allocations: 11.91 kB / 1.336 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.3697, allocations: 4 kB / 1.336 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3698, allocations: 7.984 kB / 1.336 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3698, allocations: 23.91 kB / 1.336 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3698, allocations: 4 kB / 1.336 GB, free: 6.215 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.58e-05/0.3699, allocations: 127.2 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3699, allocations: 0 / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003783/0.3703, allocations: 91.88 kB / 1.337 GB, free: 6 MB / 1.029 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.0007038/0.371, allocations: 0.8177 MB / 1.337 GB, free: 5.156 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000859/0.3719, allocations: 0.695 MB / 1.338 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3719, allocations: 0 / 1.338 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.372, allocations: 68.03 kB / 1.338 GB, free: 4.305 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3724, allocations: 51.94 kB / 1.338 GB, free: 4.254 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.3769, allocations: 3.637 MB / 1.342 GB, free: 324 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.377, allocations: 116.1 kB / 1.342 GB, free: 184 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.749e-05/0.3771, allocations: 25.47 kB / 1.342 GB, free: 160 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.3772, allocations: 51.42 kB / 1.342 GB, free: 108 kB / 1.029 GB Notification: Performance of SimCode: time 1.322e-06/0.3772, allocations: 4 kB / 1.342 GB, free: 104 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.4122, allocations: 7.566 MB / 1.349 GB, free: 8.777 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 12.06 kB / 1.349 GB, free: 8.77 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.48562412400497]