Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001918/0.001918, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002234/0.002234, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.213/3.213, allocations: 0.49 GB / 0.7916 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 65.58 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3517, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002309/0.3541, allocations: 0.8381 MB / 1.322 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3562, allocations: 1.506 MB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.3563, allocations: 4 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.3564, allocations: 23.73 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.972e-05/0.3565, allocations: 39.72 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.3578, allocations: 0.5091 MB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006316/0.3584, allocations: 475.3 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.3586, allocations: 33.47 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.3588, allocations: 191.6 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.3591, allocations: 175.4 kB / 1.325 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.3592, allocations: 44 kB / 1.325 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3593, allocations: 51.98 kB / 1.325 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.3594, allocations: 43.84 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.3595, allocations: 163.5 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000484/0.36, allocations: 415 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.36, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.36, allocations: 4 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.36, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 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.000851/0.3609, allocations: 0.6436 MB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3609, allocations: 19.92 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.361, allocations: 46.73 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.872e-05/0.3611, allocations: 28.84 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.3615, allocations: 256 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.3615, allocations: 28.36 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.3616, allocations: 28.38 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.3619, allocations: 155.3 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3619, allocations: 3.938 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3619, allocations: 4 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3619, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3621, allocations: 83.94 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3631, allocations: 0.707 MB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.3633, allocations: 163.7 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.3634, allocations: 36.84 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3634, allocations: 4 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.3637, allocations: 169.2 kB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.3637, allocations: 0 / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004938/0.3642, allocations: 243 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.3642, allocations: 59.39 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3644, allocations: 182.8 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.3645, allocations: 37.7 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3646, allocations: 132.5 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.3646, allocations: 43.75 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.3649, allocations: 109.6 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.365, allocations: 330.8 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.3654, allocations: 159.8 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.3658, allocations: 242.2 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/0.3664, allocations: 404.3 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3664, allocations: 96 / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001122/0.3675, allocations: 0.642 MB / 1.33 GB, free: 9.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.3676, allocations: 168.4 kB / 1.33 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3676, allocations: 4 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3677, allocations: 7.938 kB / 1.33 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.909e-05/0.3677, allocations: 16 kB / 1.33 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3677, allocations: 4 kB / 1.33 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/0.3685, allocations: 136 kB / 1.33 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.3686, allocations: 35.97 kB / 1.33 GB, free: 9.176 MB / 1.029 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.0001894/0.3688, allocations: 153.8 kB / 1.33 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.3688, allocations: 23.83 kB / 1.331 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.3688, allocations: 17.88 kB / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3689, allocations: 0 / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3689, allocations: 0 / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3689, allocations: 4 kB / 1.331 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.3695, allocations: 0.5099 MB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3695, allocations: 4 kB / 1.331 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.3695, allocations: 4 kB / 1.331 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3695, allocations: 4 kB / 1.331 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3696, allocations: 4 kB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3696, allocations: 4 kB / 1.331 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.3696, allocations: 7.969 kB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.3699, allocations: 285.3 kB / 1.331 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.37, allocations: 89.02 kB / 1.331 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.37, allocations: 3.984 kB / 1.331 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.3701, allocations: 12 kB / 1.331 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.3701, allocations: 19.97 kB / 1.331 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3701, allocations: 4 kB / 1.331 GB, free: 7.938 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.59e-05/0.3702, allocations: 119.2 kB / 1.332 GB, free: 7.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3702, allocations: 0 / 1.332 GB, free: 7.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003988/0.3706, allocations: 83.89 kB / 1.332 GB, free: 7.738 MB / 1.029 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.0007443/0.3714, allocations: 0.8351 MB / 1.332 GB, free: 6.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008009/0.3722, allocations: 0.5437 MB / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3722, allocations: 0 / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3723, allocations: 67.91 kB / 1.333 GB, free: 6.207 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.3727, allocations: 54.45 kB / 1.333 GB, free: 6.156 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.377, allocations: 3.03 MB / 1.336 GB, free: 2.945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3775, allocations: 0.7281 MB / 1.337 GB, free: 2.191 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.009e-05/0.3776, allocations: 25.48 kB / 1.337 GB, free: 2.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.3777, allocations: 51.42 kB / 1.337 GB, free: 2.113 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/0.3777, allocations: 0 / 1.337 GB, free: 2.113 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.4099, allocations: 6.378 MB / 1.343 GB, free: 11.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.84, allocations: 4.641 kB / 1.343 GB, free: 11.88 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.520436452934518]