Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001413/0.001413, allocations: 106.6 kB / 16.45 MB, free: 6.508 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.001625/0.001625, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 9.156 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.271/3.271, allocations: 0.49 GB / 0.7916 GB, free: 33.23 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.Utilities.Validation.Assert,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_12_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.002112/0.002112, allocations: 69.62 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4288, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001885/0.4307, allocations: 0.5934 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.4322, allocations: 1.14 MB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.4322, allocations: 0 / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.4323, allocations: 3.938 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-05/0.4323, allocations: 11.92 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.4328, allocations: 123.3 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.433, allocations: 83.89 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.946e-05/0.4331, allocations: 0 / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.4331, allocations: 39.92 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.4332, allocations: 39.88 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.4332, allocations: 8 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.4333, allocations: 19.98 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.4333, allocations: 11.94 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.4334, allocations: 23.97 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.4336, allocations: 87.95 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4336, allocations: 0 / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4336, allocations: 0 / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.4336, allocations: 0 / 1.323 GB, free: 1.195 MB / 1.014 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.0004915/0.4341, allocations: 377.1 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4341, allocations: 11.98 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.4341, allocations: 38.73 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.4342, allocations: 4.938 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4343, allocations: 172.3 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4343, allocations: 4.312 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.4343, allocations: 8.375 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.062e-05/0.4344, allocations: 38.25 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4344, allocations: 3.938 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.4345, allocations: 0 / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4345, allocations: 4 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.4345, allocations: 7.938 kB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.4349, allocations: 280.9 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.269e-05/0.4349, allocations: 26.5 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.4349, allocations: 8.922 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.4349, allocations: 4 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.4351, allocations: 71.33 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4351, allocations: 0 / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001709/0.4353, allocations: 57.83 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.4353, allocations: 51.41 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.4354, allocations: 109.8 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.4354, allocations: 29.7 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.4355, allocations: 80.14 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.4355, allocations: 11.95 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.4356, allocations: 33.7 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4357, allocations: 314.8 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.4358, allocations: 27.98 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.4359, allocations: 54.48 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.436, allocations: 84.2 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.436, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002639/0.4363, allocations: 143.3 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.4363, allocations: 41.69 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4363, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4363, allocations: 3.938 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.62e-05/0.4363, allocations: 7.938 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4363, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.4366, allocations: 32 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.4366, allocations: 7.984 kB / 1.325 GB, free: 14.81 MB / 1.029 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 9.285e-05/0.4367, allocations: 117.8 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.4367, allocations: 7.953 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.4367, allocations: 3.906 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.4367, allocations: 3.938 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4367, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4367, allocations: 4 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.4369, allocations: 161.6 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4369, allocations: 4 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-06/0.4369, allocations: 0 / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4369, allocations: 0 / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4369, allocations: 4 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4369, allocations: 0 / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4369, allocations: 320 / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.437, allocations: 81 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.437, allocations: 93.05 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.4371, allocations: 8 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.4371, allocations: 0 / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.4371, allocations: 0 / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.4371, allocations: 4 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.898e-05/0.4372, allocations: 87.27 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4372, allocations: 0 / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002182/0.4374, allocations: 16 kB / 1.326 GB, free: 14.12 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: 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.000441/0.4378, allocations: 0.6202 MB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.438, allocations: 103.4 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.438, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.4381, allocations: 19.92 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.4383, allocations: 7.984 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.4399, allocations: 1.376 MB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.4402, allocations: 0.6768 MB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.4402, allocations: 4 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.4402, allocations: 11.42 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.4402, allocations: 0 / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.4647, allocations: 1.978 MB / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.596, allocations: 10.28 kB / 1.33 GB, free: 9.254 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.569316279143095]