Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008763/0.0008763, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001113/0.001113, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8982/0.8982, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.764/1.764, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.426e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001034/0.001048, allocations: 0.5908 MB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000975/0.002023, allocations: 1.124 MB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.002057, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.00208, allocations: 3.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.002133, allocations: 7.938 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.002481, allocations: 133 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.002595, allocations: 91.88 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.237e-05/0.002668, allocations: 0 / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.00274, allocations: 51.91 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.002814, allocations: 27.94 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.00283, allocations: 8 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.753e-05/0.002878, allocations: 12 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.002896, allocations: 12 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.002939, allocations: 27.91 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003065, allocations: 99.77 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003067, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003068, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.003072, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 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.0003338/0.003406, allocations: 307.9 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.003441, allocations: 8.75 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.176e-05/0.003463, allocations: 30.75 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.003491, allocations: 4.938 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.587e-05/0.003557, allocations: 109.8 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.003569, allocations: 8.375 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.003581, allocations: 4.375 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.195e-05/0.003663, allocations: 63.95 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-06/0.003669, allocations: 192 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.003676, allocations: 384 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.003681, allocations: 8.125 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.003697, allocations: 3.938 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.003963, allocations: 247.9 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.61e-05/0.003999, allocations: 22.58 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.064e-05/0.00401, allocations: 4.859 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-06/0.004016, allocations: 4 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.004122, allocations: 89.09 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.004123, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001445/0.004268, allocations: 65.62 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.004298, allocations: 51.41 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.004357, allocations: 113.8 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.004373, allocations: 33.7 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.004406, allocations: 80.14 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.004415, allocations: 11.94 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.004455, allocations: 33.7 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.004524, allocations: 318.8 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.004582, allocations: 53.69 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.004646, allocations: 88.19 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.004717, allocations: 80.44 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004719, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001647/0.004884, allocations: 184.9 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.004911, allocations: 33.69 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004915, allocations: 4 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.004925, allocations: 4.094 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-05/0.004938, allocations: 0 / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.004943, allocations: 0 / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.005067, allocations: 23.97 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.005083, allocations: 19.92 kB / 1.004 GB, free: 8.996 MB / 0.9636 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 5.95e-05/0.005142, allocations: 113.8 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-06/0.00515, allocations: 7.891 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.005171, allocations: 12 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.005172, allocations: 0 / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.005176, allocations: 4 kB / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.005179, allocations: 0 / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.793e-05/0.005257, allocations: 132.7 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005258, allocations: 0 / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-06/0.005262, allocations: 3.938 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005263, allocations: 3.938 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.005269, allocations: 3.984 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.00527, allocations: 0 / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.00527, allocations: 0 / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.647e-05/0.005337, allocations: 81.06 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.005343, allocations: 7.938 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.005352, allocations: 4 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-06/0.005361, allocations: 320 / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.005383, allocations: 3.984 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.005388, allocations: 8 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.005414, allocations: 83.28 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005414, allocations: 0 / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001367/0.005551, allocations: 16 kB / 1.004 GB, free: 8.441 MB / 0.9636 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.0002505/0.005802, allocations: 0.6163 MB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.005956, allocations: 149.1 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.005957, allocations: 0 / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.647e-05/0.005974, allocations: 4 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.00612, allocations: 15.97 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.007361, allocations: 1.489 MB / 1.006 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.007396, allocations: 63.34 kB / 1.007 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.654e-05/0.007413, allocations: 4 kB / 1.007 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.007437, allocations: 8.625 kB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.007438, allocations: 4 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.02126, allocations: 2.719 MB / 1.009 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.685, allocations: 10.45 kB / 1.009 GB, free: 3.32 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv: Error: Error opening file: Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,assert.u Variables in the result: [Calling sys.exit(0), Time elapsed: 10.831375473178923]