Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_9_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.01013/0.01013, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.002119/0.002119, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 67.89 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9871/0.9885, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002374/0.9909, allocations: 0.8327 MB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.993, allocations: 1.481 MB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.9931, allocations: 6.625 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.9932, allocations: 14.67 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.9933, allocations: 36.08 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.9947, allocations: 0.5137 MB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000681/0.9954, allocations: 0.4971 MB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.9956, allocations: 41.2 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.9958, allocations: 187.8 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.9961, allocations: 168.4 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.516e-05/0.9962, allocations: 40.28 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.9964, allocations: 58.89 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.9965, allocations: 46.7 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.9967, allocations: 158 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.9973, allocations: 415.5 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9974, allocations: 3.938 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9974, allocations: 0 / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.9974, allocations: 0.7188 kB / 1.092 GB, free: 2.77 MB / 0.8575 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.0008574/0.9982, allocations: 0.6366 MB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.9983, allocations: 9.531 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.9984, allocations: 47.3 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.9985, allocations: 32.16 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.9988, allocations: 269 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.9989, allocations: 18.66 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.232e-05/0.999, allocations: 35.5 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.9993, allocations: 145.7 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9993, allocations: 3.938 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.9993, allocations: 6.484 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.9993, allocations: 3.391 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.9995, allocations: 85.31 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/1, allocations: 0.7031 MB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/1.001, allocations: 171.3 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/1.001, allocations: 43.97 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/1.001, allocations: 5.844 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003498/1.001, allocations: 157.1 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/1.001, allocations: 0.9375 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0005873/1.002, allocations: 244.3 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.002, allocations: 56.25 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/1.002, allocations: 181.7 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.288e-05/1.002, allocations: 48.53 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/1.002, allocations: 131.5 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/1.002, allocations: 34.09 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/1.002, allocations: 114.8 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/1.003, allocations: 324.4 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/1.003, allocations: 157.7 kB / 1.095 GB, free: 156 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/1.003, allocations: 237.8 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/1.004, allocations: 414.6 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.004, allocations: 1.781 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001228/1.005, allocations: 0.6193 MB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.005, allocations: 168.4 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.005, allocations: 3.406 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.005, allocations: 7.688 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.6e-05/1.005, allocations: 11.66 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.005, allocations: 5.562 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/1.006, allocations: 135.2 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/1.006, allocations: 34.41 kB / 1.097 GB, free: 15.11 MB / 0.8731 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.0002386/1.007, allocations: 158.8 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/1.007, allocations: 20.72 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/1.007, allocations: 18.66 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.007, allocations: 5.938 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.007, allocations: 0.75 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.007, allocations: 1.797 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007002/1.007, allocations: 0.5183 MB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.007, allocations: 0 / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/1.008, allocations: 8.344 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.008, allocations: 0.9062 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/1.008, allocations: 4.797 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.008, allocations: 1.344 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.008, allocations: 4.062 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/1.008, allocations: 289 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/1.008, allocations: 92.95 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/1.008, allocations: 7.203 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/1.008, allocations: 2.766 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/1.008, allocations: 22.61 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/1.008, allocations: 12.91 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001076/1.008, allocations: 119.1 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.008, allocations: 0 / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005277/1.009, allocations: 83.25 kB / 1.098 GB, free: 14.14 MB / 0.8731 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.000718/1.01, allocations: 0.8343 MB / 1.099 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009365/1.011, allocations: 0.6121 MB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.011, allocations: 1.25 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/1.011, allocations: 85.36 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/1.011, allocations: 40.06 kB / 1.1 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/1.016, allocations: 3.001 MB / 1.103 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/1.017, allocations: 0.7274 MB / 1.103 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000156/1.017, allocations: 25.88 kB / 1.103 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/1.017, allocations: 55.53 kB / 1.104 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of SimCode: time 1.433e-06/1.017, allocations: 4.562 kB / 1.104 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/1.051, allocations: 6.366 MB / 1.11 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.892, allocations: 7.375 kB / 1.11 GB, free: 9.332 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches