Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_10_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.006809/0.006809, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001755/0.001755, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.305/2.305, allocations: 437.1 MB / 0.7106 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 64.11 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6266/0.6283, allocations: 151.6 MB / 1.166 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001744/0.6301, allocations: 0.845 MB / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.6318, allocations: 1.478 MB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.6318, allocations: 4 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.915e-05/0.6319, allocations: 19.8 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-05/0.632, allocations: 31.72 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.6332, allocations: 0.5189 MB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000514/0.6337, allocations: 0.4914 MB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.6338, allocations: 49.45 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.634, allocations: 175.7 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.6343, allocations: 175.5 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.688e-05/0.6344, allocations: 43.94 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.6345, allocations: 59.98 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.6345, allocations: 39.91 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.6347, allocations: 163.5 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.6352, allocations: 406.4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.6352, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.001e-06/0.6352, allocations: 4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.6352, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 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.0007559/0.6359, allocations: 0.6514 MB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.636, allocations: 12.92 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.636, allocations: 46.73 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/0.6361, allocations: 32.84 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.6364, allocations: 264.5 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.6365, allocations: 20.38 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.6365, allocations: 28.38 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.6368, allocations: 151.7 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6368, allocations: 3.938 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.6368, allocations: 7.984 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6368, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.637, allocations: 87.89 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/0.6378, allocations: 0.7033 MB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.638, allocations: 171.6 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.6381, allocations: 44.89 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.6381, allocations: 8 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.6383, allocations: 147.2 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 3.226e-06/0.6384, allocations: 4 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0004358/0.6388, allocations: 251.2 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6388, allocations: 59.41 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.639, allocations: 182.2 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.6391, allocations: 41.7 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.6392, allocations: 124.6 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.6392, allocations: 43.67 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.6394, allocations: 113.6 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6395, allocations: 326.8 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.6399, allocations: 159.9 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.6402, allocations: 246.7 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.6407, allocations: 405.4 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6407, allocations: 0 / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009132/0.6416, allocations: 0.6171 MB / 1.175 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.6417, allocations: 168.4 kB / 1.176 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6417, allocations: 4 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6418, allocations: 4 kB / 1.176 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.213e-05/0.6418, allocations: 15.92 kB / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6418, allocations: 4.344 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007138/0.6425, allocations: 139.7 kB / 1.176 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.6426, allocations: 35.97 kB / 1.176 GB, free: 9.516 MB / 0.9044 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.0001838/0.6428, allocations: 157.5 kB / 1.176 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.6428, allocations: 23.8 kB / 1.176 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.6429, allocations: 17.88 kB / 1.176 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6429, allocations: 0 / 1.176 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.6429, allocations: 4 kB / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6429, allocations: 7.969 kB / 1.176 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.6435, allocations: 0.5083 MB / 1.176 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.6435, allocations: 0 / 1.176 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.851e-05/0.6436, allocations: 3.938 kB / 1.176 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6436, allocations: 4 kB / 1.176 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.6436, allocations: 7.984 kB / 1.176 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6436, allocations: 4 kB / 1.176 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6436, allocations: 0 / 1.176 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.6439, allocations: 287.2 kB / 1.177 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.644, allocations: 96.95 kB / 1.177 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.644, allocations: 4 kB / 1.177 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.376e-05/0.6441, allocations: 8 kB / 1.177 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.6442, allocations: 19.97 kB / 1.177 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.6442, allocations: 4 kB / 1.177 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.519e-05/0.6443, allocations: 124.2 kB / 1.177 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6443, allocations: 0 / 1.177 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003455/0.6447, allocations: 83.94 kB / 1.177 GB, free: 8.062 MB / 0.9044 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.0007069/0.6454, allocations: 0.844 MB / 1.178 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008276/0.6462, allocations: 0.6223 MB / 1.178 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6462, allocations: 0 / 1.178 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.6464, allocations: 82.2 kB / 1.179 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.6468, allocations: 43.89 kB / 1.179 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.6505, allocations: 2.996 MB / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6508, allocations: 0.7242 MB / 1.182 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.257e-05/0.6509, allocations: 17.55 kB / 1.182 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.651, allocations: 59.41 kB / 1.182 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.651, allocations: 4 kB / 1.182 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.253/2.904, allocations: 6.366 MB / 1.189 GB, free: 12.17 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/13.74, allocations: 9.984 kB / 1.189 GB, free: 12.16 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches