Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001914/0.001914, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002815/0.002815, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.022/3.022, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.0022/0.0022, allocations: 69.47 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3481, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002082/0.3502, allocations: 0.5915 MB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.3522, allocations: 1.13 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.3523, allocations: 0 / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.3523, allocations: 0 / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.343e-05/0.3524, allocations: 7.938 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.3529, allocations: 123.3 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3531, allocations: 87.83 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.3532, allocations: 11.92 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.3533, allocations: 35.92 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3534, allocations: 27.89 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.3534, allocations: 8 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.491e-05/0.3535, allocations: 15.98 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.3535, allocations: 11.98 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.3536, allocations: 23.92 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3538, allocations: 85 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3538, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3538, allocations: 4 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.3538, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005436/0.3543, allocations: 300 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3544, allocations: 16.02 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.3544, allocations: 30.75 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.3545, allocations: 8.938 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3546, allocations: 110.5 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3546, allocations: 384 / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3546, allocations: 4.375 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3548, allocations: 71.89 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3548, allocations: 7.938 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3548, allocations: 0 / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3548, allocations: 0 / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.3548, allocations: 4 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.3553, allocations: 240 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.372e-05/0.3553, allocations: 30.45 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.3553, allocations: 8.922 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3554, allocations: 0 / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.3556, allocations: 89.08 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3556, allocations: 0 / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002641/0.3558, allocations: 65.62 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3559, allocations: 55.41 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.356, allocations: 109.8 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.3561, allocations: 25.7 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.3562, allocations: 88.14 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.3562, allocations: 11.92 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.3563, allocations: 29.7 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.3565, allocations: 318.8 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3567, allocations: 57.62 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.3568, allocations: 84.25 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.357, allocations: 88.14 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.357, allocations: 3.938 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002914/0.3573, allocations: 173 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/0.3574, allocations: 37.69 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3574, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3574, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.057e-05/0.3574, allocations: 4 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3574, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.3576, allocations: 32 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.3577, allocations: 11.98 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001065/0.3578, allocations: 113.8 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.3578, allocations: 7.953 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.3578, allocations: 8 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3578, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3578, allocations: 320 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3578, allocations: 4 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.358, allocations: 136.6 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.358, allocations: 4 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-06/0.3581, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3581, allocations: 4 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3581, allocations: 3.984 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3581, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3581, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.3582, allocations: 81.06 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.3582, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3582, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.3583, allocations: 4 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.3583, allocations: 3.984 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3583, allocations: 4 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.286e-05/0.3584, allocations: 87.28 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002201/0.3586, allocations: 15.95 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005014/0.3591, allocations: 0.6244 MB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.3593, allocations: 145 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3593, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.3594, allocations: 12 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.3596, allocations: 12.17 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.3619, allocations: 1.493 MB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.362, allocations: 59.3 kB / 1.289 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.362, allocations: 7.984 kB / 1.289 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.3621, allocations: 11.44 kB / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.3621, allocations: 0 / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.394, allocations: 2.595 MB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.9, allocations: 6.719 kB / 1.292 GB, free: 2.395 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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: 19.02469089627266]