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.008069/0.008069, allocations: 103 kB / 15.73 MB, free: 6.469 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.00164/0.00164, allocations: 194 kB / 16.67 MB, free: 6.379 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.9 MB / 0.7348 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 71.89 kB / 1.054 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3544, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002442/0.3569, allocations: 0.8295 MB / 1.208 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.3592, allocations: 1.49 MB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3593, allocations: 0 / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.3595, allocations: 19.8 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.43e-05/0.3596, allocations: 31.72 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.361, allocations: 0.5133 MB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007429/0.3618, allocations: 0.4915 MB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.362, allocations: 49.36 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.3623, allocations: 187.6 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.3626, allocations: 171.6 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.3628, allocations: 40 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.3629, allocations: 59.92 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.363, allocations: 39.91 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.3632, allocations: 159.5 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.3638, allocations: 411.1 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3638, allocations: 4 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.597e-06/0.3638, allocations: 3.984 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.3638, allocations: 0 / 1.212 GB, free: 5.582 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.0008758/0.3647, allocations: 0.6486 MB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3648, allocations: 8.625 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.3648, allocations: 42.73 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3649, allocations: 28.75 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.3653, allocations: 261.2 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.3653, allocations: 24.36 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.3654, allocations: 32.38 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3656, allocations: 152.3 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3656, allocations: 3.938 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3657, allocations: 4 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3657, allocations: 4 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.3658, allocations: 87.88 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009747/0.3668, allocations: 0.7031 MB / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.367, allocations: 175.6 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.3671, allocations: 40.84 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3671, allocations: 0 / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.3674, allocations: 159.3 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 3.336e-06/0.3674, allocations: 4.078 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0004658/0.3679, allocations: 251.8 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3679, allocations: 55.34 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3682, allocations: 186.6 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/0.3682, allocations: 41.7 kB / 1.214 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3683, allocations: 124.5 kB / 1.215 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.3684, allocations: 47.44 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.3686, allocations: 117.6 kB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3687, allocations: 326.8 kB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.3691, allocations: 155.9 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.3694, allocations: 242.5 kB / 1.215 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.37, allocations: 407.9 kB / 1.216 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.37, allocations: 4 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009733/0.371, allocations: 0.6189 MB / 1.216 GB, free: 264 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.3711, allocations: 172.4 kB / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3711, allocations: 0 / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3711, allocations: 4 kB / 1.217 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.039e-05/0.3712, allocations: 11.94 kB / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3712, allocations: 4 kB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.372, allocations: 143.8 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.3721, allocations: 31.97 kB / 1.217 GB, free: 15.87 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.0002092/0.3723, allocations: 161.7 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3724, allocations: 19.75 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.3725, allocations: 21.86 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3725, allocations: 0 / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3725, allocations: 0 / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3725, allocations: 0 / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.3732, allocations: 0.5022 MB / 1.217 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3732, allocations: 0 / 1.217 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.3732, allocations: 11.98 kB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3732, allocations: 0 / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3732, allocations: 8 kB / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3732, allocations: 0 / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3732, allocations: 0 / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.3736, allocations: 289.4 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.3736, allocations: 96.86 kB / 1.218 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.3737, allocations: 7.922 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.3738, allocations: 4 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3738, allocations: 19.98 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.3738, allocations: 15.98 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002126/0.3741, allocations: 119.2 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3741, allocations: 0 / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004259/0.3745, allocations: 79.91 kB / 1.218 GB, free: 14.43 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.0006431/0.3752, allocations: 0.8387 MB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007858/0.3759, allocations: 0.6101 MB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.376, allocations: 0 / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3761, allocations: 75.91 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.3766, allocations: 60.2 kB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.3809, allocations: 2.995 MB / 1.223 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3814, allocations: 0.732 MB / 1.223 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.862e-05/0.3815, allocations: 21.55 kB / 1.223 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.3816, allocations: 51.42 kB / 1.223 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of SimCode: time 8.42e-07/0.3816, allocations: 0 / 1.223 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.4098, allocations: 6.514 MB / 1.23 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/8.068, allocations: 18.69 kB / 1.23 GB, free: 2.383 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