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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009093/0.0009093, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006312/0.006312, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 16 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8305, allocations: 142.4 MB / 0.9552 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001119/0.8316, allocations: 0.5503 MB / 0.9557 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.8336, allocations: 1.531 MB / 0.9572 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.8337, allocations: 1 kB / 0.9572 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.8338, allocations: 12.89 kB / 0.9572 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.8339, allocations: 31.83 kB / 0.9573 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.8352, allocations: 487.9 kB / 0.9577 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.8357, allocations: 421.4 kB / 0.9581 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.8358, allocations: 39.66 kB / 0.9582 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.836, allocations: 155.9 kB / 0.9583 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.8362, allocations: 134.9 kB / 0.9584 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.8362, allocations: 21.12 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.8363, allocations: 31.2 kB / 0.9585 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.8364, allocations: 44.41 kB / 0.9585 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.8366, allocations: 166.5 kB / 0.9587 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.8369, allocations: 388.1 kB / 0.9591 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8369, allocations: 0 / 0.9591 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8369, allocations: 0 / 0.9591 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.837, allocations: 1.375 kB / 0.9591 GB, free: 5.012 MB / 0.7169 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.00057/0.8375, allocations: 0.5712 MB / 0.9596 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8376, allocations: 9.625 kB / 0.9596 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.8376, allocations: 46.86 kB / 0.9597 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.306e-05/0.8377, allocations: 32 kB / 0.9597 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.838, allocations: 255.6 kB / 0.96 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.838, allocations: 18.12 kB / 0.96 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.168e-05/0.8381, allocations: 33.11 kB / 0.96 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.8384, allocations: 154 kB / 0.9601 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8384, allocations: 7.875 kB / 0.9602 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.8384, allocations: 9.312 kB / 0.9602 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.8384, allocations: 2.75 kB / 0.9602 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.8386, allocations: 75.77 kB / 0.9602 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.8393, allocations: 0.7131 MB / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.8396, allocations: 181.9 kB / 0.9611 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.125e-05/0.8396, allocations: 47.2 kB / 0.9612 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.8397, allocations: 1.375 kB / 0.9612 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.8399, allocations: 155.3 kB / 0.9613 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.8399, allocations: 4.188 kB / 0.9613 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005157/0.8405, allocations: 244.4 kB / 0.9615 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.8405, allocations: 59.58 kB / 0.9616 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.8407, allocations: 182.4 kB / 0.9618 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/0.8407, allocations: 39.77 kB / 0.9618 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.8409, allocations: 122.9 kB / 0.9619 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.8409, allocations: 42.47 kB / 0.962 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.841, allocations: 47.64 kB / 0.962 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.8411, allocations: 331 kB / 0.9623 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.8414, allocations: 162 kB / 0.9625 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.8418, allocations: 237.2 kB / 0.9627 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.8422, allocations: 404.8 kB / 0.9631 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8422, allocations: 1.219 kB / 0.9631 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009367/0.8432, allocations: 0.6165 MB / 0.9637 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.8433, allocations: 171.7 kB / 0.9639 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8433, allocations: 7.859 kB / 0.9639 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.8433, allocations: 3.969 kB / 0.9639 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.509e-05/0.8433, allocations: 8.594 kB / 0.9639 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.8434, allocations: 8.156 kB / 0.9639 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009081/0.8443, allocations: 194.6 kB / 0.9641 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.8443, allocations: 35.78 kB / 0.9641 GB, free: 0.8164 MB / 0.7169 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.0001465/0.8445, allocations: 159.8 kB / 0.9643 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.8445, allocations: 21.56 kB / 0.9643 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.8446, allocations: 22.2 kB / 0.9643 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.8446, allocations: 1.344 kB / 0.9643 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.8446, allocations: 1.469 kB / 0.9643 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8446, allocations: 0 / 0.9643 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.8451, allocations: 0.5138 MB / 0.9648 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.8451, allocations: 0 / 0.9648 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.8451, allocations: 18.61 kB / 0.9648 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8452, allocations: 1.594 kB / 0.9648 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.8452, allocations: 6.812 kB / 0.9648 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8452, allocations: 1.438 kB / 0.9648 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8452, allocations: 0 / 0.9648 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.8455, allocations: 284.9 kB / 0.9651 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.8456, allocations: 93.23 kB / 0.9652 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.8456, allocations: 6.5 kB / 0.9652 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.8457, allocations: 5.297 kB / 0.9652 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.8457, allocations: 15.48 kB / 0.9652 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.8457, allocations: 15.39 kB / 0.9652 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.185e-05/0.8458, allocations: 121.7 kB / 0.9654 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8459, allocations: 1.031 kB / 0.9654 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004035/0.8463, allocations: 84.84 kB / 0.9654 GB, free: 15.74 MB / 0.7325 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.0006881/0.847, allocations: 0.8317 MB / 0.9662 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008687/0.8478, allocations: 0.608 MB / 0.9668 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8478, allocations: 1.031 kB / 0.9668 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.848, allocations: 79.88 kB / 0.9669 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.8484, allocations: 46.05 kB / 0.967 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.8527, allocations: 3.03 MB / 0.9699 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.853, allocations: 0.7245 MB / 0.9706 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.948e-05/0.8531, allocations: 25.06 kB / 0.9707 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.8532, allocations: 57.39 kB / 0.9707 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.8532, allocations: 7.938 kB / 0.9707 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.8716, allocations: 5.914 MB / 0.9765 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.8718, allocations: 200.3 kB / 0.9767 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.688, allocations: 3.938 kB / 0.9767 GB, free: 8.188 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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