Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001959/0.001959, allocations: 106.1 kB / 16.45 MB, free: 6.445 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.001575/0.001575, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.526/1.526, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.5 MB / 0.7287 GB, free: 14.47 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 63.89 kB / 1.056 GB, free: 2.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3493, allocations: 160.7 MB / 1.213 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002103/0.3514, allocations: 0.6754 MB / 1.214 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3531, allocations: 1.191 MB / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.3532, allocations: 0 / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.3532, allocations: 7.922 kB / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/0.3533, allocations: 15.92 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007109/0.354, allocations: 211.2 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.3543, allocations: 171.8 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.3544, allocations: 11.94 kB / 1.215 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3545, allocations: 71.88 kB / 1.215 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.3547, allocations: 59.84 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.3547, allocations: 16 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.3548, allocations: 31.98 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.3549, allocations: 11.92 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.93e-05/0.355, allocations: 59.83 kB / 1.215 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.3552, allocations: 147.9 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3552, allocations: 0 / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3552, allocations: 0 / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3552, allocations: 0 / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006479/0.3559, allocations: 434.6 kB / 1.216 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.356, allocations: 12.03 kB / 1.216 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.356, allocations: 38.73 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.3561, allocations: 16.89 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.3562, allocations: 164.3 kB / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.3563, allocations: 8.375 kB / 1.216 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.3563, allocations: 8.375 kB / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3565, allocations: 54.17 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3565, allocations: 3.938 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3565, allocations: 0 / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.3565, allocations: 4 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/0.3566, allocations: 11.98 kB / 1.216 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.3573, allocations: 368.6 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3574, allocations: 34.55 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.3574, allocations: 12.86 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3574, allocations: 4 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.3577, allocations: 87.38 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3577, allocations: 4 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003321/0.358, allocations: 97.62 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.3581, allocations: 55.41 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3582, allocations: 117.8 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.3583, allocations: 29.7 kB / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3584, allocations: 100.1 kB / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.3584, allocations: 15.91 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.3585, allocations: 45.69 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3587, allocations: 330.8 kB / 1.217 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.3588, allocations: 55.97 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.359, allocations: 96.19 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.3592, allocations: 156.1 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.3592, allocations: 4 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004666/0.3597, allocations: 264.8 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.3598, allocations: 67.39 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3598, allocations: 0 / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3598, allocations: 4 kB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.248e-05/0.3598, allocations: 0 / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3598, allocations: 4 kB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.3602, allocations: 59.95 kB / 1.218 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.3602, allocations: 15.98 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001117/0.3603, allocations: 121.8 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3603, allocations: 11.94 kB / 1.218 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.3604, allocations: 8.375 kB / 1.218 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3604, allocations: 4 kB / 1.218 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3604, allocations: 4 kB / 1.218 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3604, allocations: 0 / 1.218 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3605, allocations: 185.6 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.3606, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.3606, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3606, allocations: 3.938 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3606, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3606, allocations: 4 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3606, allocations: 0 / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.3607, allocations: 116.9 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.3608, allocations: 81.11 kB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3608, allocations: 0 / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.3608, allocations: 4 kB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.3609, allocations: 7.984 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3609, allocations: 4 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.3609, allocations: 91.27 kB / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002407/0.3612, allocations: 32 kB / 1.219 GB, free: 10.88 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005701/0.3617, allocations: 0.6555 MB / 1.219 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.3621, allocations: 222.6 kB / 1.22 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3621, allocations: 0 / 1.22 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.3622, allocations: 20.25 kB / 1.22 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.3624, allocations: 21.64 kB / 1.22 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3646, allocations: 1.721 MB / 1.221 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3649, allocations: 0.6846 MB / 1.222 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.3649, allocations: 4 kB / 1.222 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.365, allocations: 23.42 kB / 1.222 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.365, allocations: 0 / 1.222 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.3933, allocations: 2.891 MB / 1.225 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.391, allocations: 8.766 kB / 1.225 GB, free: 4.535 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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: 14.7311479463242]