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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00533/0.00533, allocations: 106.9 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 196 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3165, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002098/0.3186, allocations: 0.8318 MB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.3208, allocations: 1.478 MB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3209, allocations: 4 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.3211, allocations: 23.73 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.3212, allocations: 35.7 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3228, allocations: 0.5139 MB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000814/0.3236, allocations: 0.4915 MB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3238, allocations: 41.44 kB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.3241, allocations: 195.6 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.3244, allocations: 159.6 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.3245, allocations: 44 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.3247, allocations: 63.91 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.3248, allocations: 39.91 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.325, allocations: 163.5 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.3256, allocations: 407.2 kB / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3256, allocations: 4 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3256, allocations: 0 / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.3256, allocations: 0 / 1.212 GB, free: 5.66 MB / 0.9669 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.0009171/0.3265, allocations: 0.6398 MB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3266, allocations: 12.62 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.3267, allocations: 50.67 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3268, allocations: 36.73 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.3272, allocations: 265.2 kB / 1.213 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3272, allocations: 16.38 kB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.3273, allocations: 28.38 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.3275, allocations: 156.2 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3276, allocations: 3.938 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.3276, allocations: 7.984 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3276, allocations: 4 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.3277, allocations: 79.95 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.3287, allocations: 0.7108 MB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.3289, allocations: 167.7 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.329, allocations: 44.83 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.329, allocations: 8 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.3293, allocations: 156.7 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.913e-06/0.3293, allocations: 0 / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0004793/0.3298, allocations: 243.7 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3299, allocations: 55.41 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3301, allocations: 190.6 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.3301, allocations: 45.69 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3302, allocations: 124.5 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.3303, allocations: 39.45 kB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.3305, allocations: 117.6 kB / 1.215 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3306, allocations: 326.8 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.331, allocations: 159.8 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.3313, allocations: 250.5 kB / 1.215 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.3318, allocations: 407.9 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3319, allocations: 4 kB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009963/0.3329, allocations: 0.6188 MB / 1.216 GB, free: 332 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.333, allocations: 164.4 kB / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.333, allocations: 4.062 kB / 1.217 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.333, allocations: 8 kB / 1.217 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.569e-05/0.3331, allocations: 8.281 kB / 1.217 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.3331, allocations: 15.97 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/0.3339, allocations: 135.7 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/0.334, allocations: 35.92 kB / 1.217 GB, free: 15.93 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.0001873/0.3342, allocations: 157.7 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3342, allocations: 23.73 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.3343, allocations: 17.88 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3343, allocations: 4 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3343, allocations: 96 / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3343, allocations: 3.938 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.3349, allocations: 0.51 MB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3349, allocations: 0 / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.3349, allocations: 4 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3349, allocations: 0 / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3349, allocations: 7.984 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3349, allocations: 4 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3349, allocations: 0 / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3353, allocations: 285.7 kB / 1.218 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.3353, allocations: 92.86 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.3354, allocations: 11.92 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.3354, allocations: 4 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.3355, allocations: 23.97 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3355, allocations: 8 kB / 1.218 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.646e-05/0.3356, allocations: 115.2 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3356, allocations: 0 / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003931/0.336, allocations: 91.89 kB / 1.218 GB, free: 14.48 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.000728/0.3368, allocations: 0.8229 MB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007751/0.3375, allocations: 0.6083 MB / 1.22 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3376, allocations: 0 / 1.22 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3377, allocations: 87.95 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3381, allocations: 43.95 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.3419, allocations: 3.006 MB / 1.223 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3423, allocations: 0.7242 MB / 1.223 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.719e-05/0.3424, allocations: 21.55 kB / 1.223 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.3425, allocations: 59.41 kB / 1.223 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3425, allocations: 4 kB / 1.223 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.369, allocations: 6.519 MB / 1.23 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.303, allocations: 3.938 kB / 1.23 GB, free: 2.449 MB / 0.9825 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches