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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 189.4 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002879/0.002879, allocations: 71.88 kB / 1.061 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.061, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00237/1.063, allocations: 0.8474 MB / 1.219 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002245/1.065, allocations: 1.501 MB / 1.221 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/1.065, allocations: 1.156 kB / 1.221 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/1.065, allocations: 21.98 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/1.065, allocations: 36.67 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/1.067, allocations: 0.5156 MB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006036/1.067, allocations: 477.7 kB / 1.222 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/1.068, allocations: 28.83 kB / 1.222 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/1.068, allocations: 196.2 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/1.068, allocations: 171 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-05/1.068, allocations: 45.25 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/1.068, allocations: 54.83 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/1.068, allocations: 42.77 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/1.069, allocations: 157.8 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005101/1.069, allocations: 416.4 kB / 1.223 GB, free: 468 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.069, allocations: 0 / 1.223 GB, free: 468 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.273e-06/1.069, allocations: 0 / 1.223 GB, free: 468 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.069, allocations: 0 / 1.223 GB, free: 468 kB / 0.92 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.0009243/1.07, allocations: 0.6499 MB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.07, allocations: 9.312 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/1.07, allocations: 28.66 kB / 1.224 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/1.071, allocations: 272.1 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/1.071, allocations: 16.84 kB / 1.224 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/1.071, allocations: 33.23 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/1.071, allocations: 160 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.071, allocations: 192 / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/1.071, allocations: 6.406 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.071, allocations: 6.719 kB / 1.224 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/1.071, allocations: 79.58 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009851/1.072, allocations: 0.7112 MB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/1.073, allocations: 166.9 kB / 1.225 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/1.073, allocations: 42.41 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/1.073, allocations: 1.125 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/1.073, allocations: 154.9 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/1.073, allocations: 0 / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004955/1.073, allocations: 241.1 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/1.073, allocations: 59.73 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/1.074, allocations: 184.5 kB / 1.226 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/1.074, allocations: 39.67 kB / 1.226 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/1.074, allocations: 123.3 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/1.074, allocations: 46.14 kB / 1.226 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.074, allocations: 117.9 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.074, allocations: 330.8 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/1.075, allocations: 154 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/1.075, allocations: 245.9 kB / 1.227 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/1.075, allocations: 411.5 kB / 1.227 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.075, allocations: 0 / 1.227 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001008/1.077, allocations: 0.6319 MB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/1.077, allocations: 164 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.077, allocations: 7.219 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.077, allocations: 4.25 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.922e-05/1.077, allocations: 13.48 kB / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.077, allocations: 8.875 kB / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/1.077, allocations: 134.4 kB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/1.078, allocations: 35.34 kB / 1.228 GB, free: 12.24 MB / 0.9356 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.0002042/1.078, allocations: 159.2 kB / 1.228 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/1.078, allocations: 18.67 kB / 1.228 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.509e-05/1.078, allocations: 29.77 kB / 1.228 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.078, allocations: 2.75 kB / 1.228 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.078, allocations: 0 / 1.228 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.078, allocations: 4 kB / 1.228 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000633/1.078, allocations: 0.4962 MB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.078, allocations: 5.25 kB / 1.229 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/1.079, allocations: 14.64 kB / 1.229 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.079, allocations: 1.375 kB / 1.229 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.079, allocations: 2.812 kB / 1.229 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.079, allocations: 0 / 1.229 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.079, allocations: 1.312 kB / 1.229 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/1.079, allocations: 287 kB / 1.229 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/1.079, allocations: 89.77 kB / 1.229 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/1.079, allocations: 6.406 kB / 1.229 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/1.079, allocations: 9.109 kB / 1.229 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/1.079, allocations: 19.16 kB / 1.229 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/1.079, allocations: 9.5 kB / 1.229 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.903e-05/1.079, allocations: 123.5 kB / 1.229 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/1.079, allocations: 0 / 1.229 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003803/1.08, allocations: 85.19 kB / 1.229 GB, free: 11.17 MB / 0.9356 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.0001808/1.08, allocations: 113.7 kB / 1.229 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007846/1.081, allocations: 0.5551 MB / 1.23 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.081, allocations: 1.375 kB / 1.23 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/1.081, allocations: 69.12 kB / 1.23 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/1.081, allocations: 58.08 kB / 1.23 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/1.082, allocations: 327.6 kB / 1.23 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/1.082, allocations: 0.7281 MB / 1.231 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.976e-05/1.082, allocations: 24.44 kB / 1.231 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/1.082, allocations: 18.47 kB / 1.231 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/1.082, allocations: 0 / 1.231 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of Templates: time 0.009523/1.092, allocations: 4.637 MB / 1.236 GB, free: 5.043 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.36743173096329]