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.00181/0.00181, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002548/0.002548, allocations: 215.7 kB / 22.24 MB, free: 5.262 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.814/2.814, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002192/0.002192, allocations: 65.25 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3374, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002514/0.3399, allocations: 0.8066 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.3426, allocations: 1.492 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.3427, allocations: 3.938 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.3429, allocations: 23.8 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.3431, allocations: 31.72 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.3447, allocations: 0.5148 MB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008074/0.3455, allocations: 479.2 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.3457, allocations: 37.17 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.3461, allocations: 187.7 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.3465, allocations: 151.5 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3467, allocations: 40 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.3468, allocations: 55.92 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.3469, allocations: 35.92 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.3472, allocations: 151.6 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007323/0.3479, allocations: 420.4 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3479, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3479, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.3479, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 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.001121/0.3491, allocations: 0.5799 MB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.3491, allocations: 12.03 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.832e-05/0.3492, allocations: 42.73 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.3493, allocations: 32.8 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.3497, allocations: 199.5 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.3498, allocations: 20.36 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.792e-05/0.3499, allocations: 28.38 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.3502, allocations: 145.2 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3502, allocations: 3.938 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3502, allocations: 12 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3502, allocations: 8 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.3504, allocations: 91.73 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009456/0.3513, allocations: 0.5855 MB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3515, allocations: 98.52 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.3516, allocations: 36.84 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.3516, allocations: 192 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003389/0.3519, allocations: 155.2 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.3519, allocations: 4 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0005151/0.3525, allocations: 259 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.3525, allocations: 59.39 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3527, allocations: 186.7 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.3528, allocations: 37.7 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3529, allocations: 128.7 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.353, allocations: 47.67 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.3532, allocations: 113.6 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3533, allocations: 326.8 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.3538, allocations: 304.4 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/0.3542, allocations: 398.6 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/0.3547, allocations: 415.5 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3547, allocations: 4 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001116/0.3559, allocations: 0.7782 MB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.356, allocations: 168.4 kB / 1.292 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.356, allocations: 4 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.356, allocations: 4 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.07e-05/0.3561, allocations: 12.28 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3561, allocations: 4 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007526/0.3568, allocations: 135.7 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.3569, allocations: 39.97 kB / 1.292 GB, free: 2.184 MB / 0.9825 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.0001993/0.3571, allocations: 157.5 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3571, allocations: 19.83 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.3572, allocations: 17.81 kB / 1.292 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3572, allocations: 4 kB / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3572, allocations: 0 / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3572, allocations: 0 / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.3578, allocations: 487.7 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3578, allocations: 4 kB / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.3578, allocations: 4 kB / 1.293 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3578, allocations: 0 / 1.293 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3578, allocations: 8.047 kB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.3578, allocations: 4 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3578, allocations: 0 / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.3581, allocations: 283.2 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.3582, allocations: 15.89 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.3582, allocations: 8 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.3583, allocations: 0 / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.3583, allocations: 27.97 kB / 1.293 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3583, allocations: 11.98 kB / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.793e-05/0.3584, allocations: 115.2 kB / 1.293 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3584, allocations: 0 / 1.293 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003638/0.3588, allocations: 83.89 kB / 1.293 GB, free: 0.8828 MB / 0.9825 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.0007651/0.3596, allocations: 0.8242 MB / 1.294 GB, free: 36 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009209/0.3605, allocations: 0.701 MB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3605, allocations: 3.938 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.3606, allocations: 67.84 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.361, allocations: 41.67 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.3655, allocations: 3.639 MB / 1.298 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.3656, allocations: 112.1 kB / 1.299 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.911e-05/0.3657, allocations: 25.48 kB / 1.299 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.3658, allocations: 55.41 kB / 1.299 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.3658, allocations: 0 / 1.299 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.4013, allocations: 7.543 MB / 1.306 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 7.344 kB / 1.306 GB, free: 3.68 MB / 0.9981 GB " [Timeout remaining time 287] (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/jenkins1/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: 18.742627477739006]