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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8852/0.8852, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.749/1.749, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.226e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001237/0.00125, allocations: 0.7918 MB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.002644, allocations: 1.513 MB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.002712, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.002818, allocations: 19.8 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/0.002865, allocations: 39.64 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008993/0.003764, allocations: 0.5178 MB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000464/0.004228, allocations: 483.1 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.004381, allocations: 37.66 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.004609, allocations: 259.7 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.004793, allocations: 139.7 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.004845, allocations: 40 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.004945, allocations: 55.92 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.005014, allocations: 43.83 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.005148, allocations: 139.8 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.005556, allocations: 482.8 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005558, allocations: 7.938 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005559, allocations: 0 / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.005565, allocations: 4 kB / 1.004 GB, free: 8.938 MB / 0.9636 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.0006978/0.006263, allocations: 0.5606 MB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.006312, allocations: 12.75 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.006352, allocations: 46.73 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.73e-05/0.006429, allocations: 32.8 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.006691, allocations: 201.4 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.006712, allocations: 16.38 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.006757, allocations: 28.38 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.006978, allocations: 159.6 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.006988, allocations: 192 / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.007004, allocations: 12.36 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.007014, allocations: 12.12 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.007117, allocations: 79.95 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.007854, allocations: 0.5932 MB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.008012, allocations: 82.55 kB / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.008065, allocations: 40.84 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.008078, allocations: 96 / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.008302, allocations: 167.3 kB / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.008303, allocations: 4 kB / 1.006 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0003838/0.008687, allocations: 247.5 kB / 1.006 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.008738, allocations: 63.34 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.008865, allocations: 179.7 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.008912, allocations: 41.69 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.008997, allocations: 132.6 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.009019, allocations: 35.7 kB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.00914, allocations: 121.6 kB / 1.007 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.009296, allocations: 326.8 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.009562, allocations: 308.4 kB / 1.007 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.009842, allocations: 396.2 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.01015, allocations: 406.7 kB / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01015, allocations: 4 kB / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006778/0.01083, allocations: 0.7755 MB / 1.009 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/0.01091, allocations: 160.5 kB / 1.009 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.01091, allocations: 4 kB / 1.009 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.01093, allocations: 4 kB / 1.009 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.497e-05/0.01095, allocations: 16.2 kB / 1.009 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.01096, allocations: 11.98 kB / 1.009 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.01135, allocations: 139.6 kB / 1.009 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.01139, allocations: 39.97 kB / 1.009 GB, free: 3.059 MB / 0.9636 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.0001221/0.01151, allocations: 153.7 kB / 1.01 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.01153, allocations: 15.91 kB / 1.01 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.01156, allocations: 21.81 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01157, allocations: 4 kB / 1.01 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.01157, allocations: 3.938 kB / 1.01 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01158, allocations: 3.984 kB / 1.01 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.01197, allocations: 469.4 kB / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01197, allocations: 4 kB / 1.01 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.01198, allocations: 7.984 kB / 1.01 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01198, allocations: 3.938 kB / 1.01 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.01199, allocations: 8 kB / 1.01 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01199, allocations: 0 / 1.01 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01199, allocations: 0 / 1.01 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.01219, allocations: 285.5 kB / 1.01 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.01221, allocations: 15.84 kB / 1.01 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.01222, allocations: 8 kB / 1.01 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.01226, allocations: 3.984 kB / 1.01 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.01231, allocations: 23.97 kB / 1.01 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.01232, allocations: 12 kB / 1.01 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002236/0.01254, allocations: 120.2 kB / 1.01 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01254, allocations: 3.938 kB / 1.01 GB, free: 1.84 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002573/0.0128, allocations: 87.88 kB / 1.011 GB, free: 1.754 MB / 0.9636 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.0003999/0.0132, allocations: 0.8208 MB / 1.011 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.01371, allocations: 0.6971 MB / 1.012 GB, free: 124 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01372, allocations: 0 / 1.012 GB, free: 124 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.01379, allocations: 67.91 kB / 1.012 GB, free: 56 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.01406, allocations: 43.95 kB / 1.012 GB, free: 12 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.01677, allocations: 3.631 MB / 1.016 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.428e-05/0.01685, allocations: 116.1 kB / 1.016 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.308e-05/0.0169, allocations: 25.48 kB / 1.016 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.01696, allocations: 60.47 kB / 1.016 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of SimCode: time 9.01e-07/0.01696, allocations: 0 / 1.016 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.03485, allocations: 7.626 MB / 1.023 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/6.701, allocations: 8.047 kB / 1.023 GB, free: 4.469 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.004 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.695786418393254]