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.0008498/0.0008498, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008605/0.0008605, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8869/0.8869, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.706/1.706, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.152e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001331/0.001352, allocations: 0.5946 MB / 0.9815 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002388, allocations: 1.127 MB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.002424, allocations: 0 / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.002449, allocations: 0 / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.00251, allocations: 15.86 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.002891, allocations: 116.7 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.003014, allocations: 87.83 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.003097, allocations: 11.97 kB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.003174, allocations: 51.91 kB / 0.9829 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.003252, allocations: 23.97 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.003277, allocations: 8 kB / 0.9829 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.003331, allocations: 19.97 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.00335, allocations: 7.938 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.003389, allocations: 23.98 kB / 0.983 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003528, allocations: 99.77 kB / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.00353, allocations: 0 / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003531, allocations: 0 / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.003534, allocations: 0 / 0.9831 GB, free: 448 kB / 0.9323 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.0003238/0.003858, allocations: 302.6 kB / 0.9834 GB, free: 108 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.003891, allocations: 8.031 kB / 0.9834 GB, free: 100 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.003916, allocations: 38.73 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.003947, allocations: 8.891 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.712e-05/0.004024, allocations: 113.8 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.004033, allocations: 384 / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.004046, allocations: 8.375 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/0.004124, allocations: 63.95 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.00413, allocations: 192 / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.004137, allocations: 8.25 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.004143, allocations: 4.125 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.768e-05/0.00416, allocations: 4 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.004442, allocations: 248 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.004481, allocations: 22.56 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.004493, allocations: 8.922 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.004498, allocations: 0 / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.004623, allocations: 96.92 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.004624, allocations: 0 / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001455/0.004769, allocations: 61.69 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.0048, allocations: 51.41 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.004856, allocations: 105.8 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.004872, allocations: 29.7 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.004909, allocations: 88.14 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.004918, allocations: 11.89 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.00496, allocations: 33.7 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.005032, allocations: 318.8 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.005089, allocations: 53.69 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.005152, allocations: 84.25 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.205e-05/0.005224, allocations: 76.27 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005226, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000164/0.00539, allocations: 188.9 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.005418, allocations: 37.69 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005422, allocations: 0 / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.005433, allocations: 4 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-05/0.005447, allocations: 0 / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.005451, allocations: 0 / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.005576, allocations: 23.97 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.005589, allocations: 4 kB / 0.9851 GB, free: 14.11 MB / 0.948 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 6.078e-05/0.00565, allocations: 125.8 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.005656, allocations: 8.172 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.005673, allocations: 4 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005675, allocations: 7.984 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005679, allocations: 0 / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005681, allocations: 0 / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.41e-05/0.005755, allocations: 129.1 kB / 0.9853 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005756, allocations: 3.938 kB / 0.9853 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-06/0.00576, allocations: 11.94 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005762, allocations: 0 / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.005767, allocations: 0 / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005767, allocations: 0 / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005768, allocations: 4 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.998e-05/0.005838, allocations: 85 kB / 0.9854 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.005846, allocations: 11.94 kB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.005855, allocations: 0 / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.005864, allocations: 3.938 kB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.005886, allocations: 3.984 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.00589, allocations: 4 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.005917, allocations: 83.28 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005917, allocations: 0 / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001366/0.006054, allocations: 16 kB / 0.9856 GB, free: 13.54 MB / 0.948 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.0002751/0.006329, allocations: 0.624 MB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.006482, allocations: 141.1 kB / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.006484, allocations: 0 / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.006503, allocations: 11.92 kB / 0.9863 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.006646, allocations: 8 kB / 0.9863 GB, free: 12.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.007601, allocations: 1.484 MB / 0.9878 GB, free: 11.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.007639, allocations: 63.55 kB / 0.9878 GB, free: 11.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.007657, allocations: 7.984 kB / 0.9878 GB, free: 11.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.007681, allocations: 8.5 kB / 0.9878 GB, free: 11 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.007682, allocations: 0 / 0.9878 GB, free: 11 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.02201, allocations: 2.739 MB / 0.9905 GB, free: 8.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/6.645, allocations: 8.688 kB / 0.9905 GB, free: 8.426 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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] "Error: Failed to open simulation result Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv: Error: Error opening file: Buildings_12_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.737814290449023]