Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.001547/0.001547, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.00171/0.00171, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.126/3.126, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.Reals.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",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.002044/0.002044, allocations: 74.38 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3679, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002034/0.37, allocations: 0.6662 MB / 1.322 GB, free: 2.617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3711, allocations: 0.8748 MB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.3711, allocations: 0 / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.3711, allocations: 4 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.3712, allocations: 3.938 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.3713, allocations: 15.98 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.3714, allocations: 27.92 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.026e-05/0.3715, allocations: 0 / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.3716, allocations: 15.92 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.3716, allocations: 15.92 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3716, allocations: 3.938 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.3716, allocations: 4 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.3716, allocations: 0 / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.3717, allocations: 15.92 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.241e-05/0.3717, allocations: 20.19 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3717, allocations: 0 / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3717, allocations: 4 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.3717, allocations: 0 / 1.322 GB, free: 1.602 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004595/0.3722, allocations: 337.2 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3722, allocations: 15.98 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.3723, allocations: 30.75 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.3723, allocations: 4.938 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3724, allocations: 176.2 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.3725, allocations: 4.375 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3725, allocations: 4.375 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3726, allocations: 50.23 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3726, allocations: 3.938 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3727, allocations: 4 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3727, allocations: 0 / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.3728, allocations: 35.95 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.3732, allocations: 245 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.3733, allocations: 50.42 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/0.3734, allocations: 16.91 kB / 1.323 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3734, allocations: 0 / 1.323 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3735, allocations: 34.56 kB / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3735, allocations: 0 / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003589/0.3738, allocations: 81.64 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3739, allocations: 55.34 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.374, allocations: 105.8 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.374, allocations: 25.7 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.3741, allocations: 80.14 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.3741, allocations: 3.953 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.3741, allocations: 21.84 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3743, allocations: 310.8 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.3744, allocations: 19.97 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.3744, allocations: 15.98 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3746, allocations: 40.89 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3746, allocations: 3.938 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002038/0.3748, allocations: 65.59 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3748, allocations: 8 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.3748, allocations: 0 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3748, allocations: 0 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.3749, allocations: 11.92 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3749, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.375, allocations: 12.03 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.375, allocations: 7.984 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.784e-05/0.3751, allocations: 109.8 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.3751, allocations: 3.953 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.3751, allocations: 11.06 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3751, allocations: 0 / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3751, allocations: 0 / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3751, allocations: 0 / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.3753, allocations: 165.5 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3753, allocations: 4 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.501e-05/0.3754, allocations: 12 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3754, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3754, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3754, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3754, allocations: 4 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3757, allocations: 167.4 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.3757, allocations: 81.28 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.3757, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.3758, allocations: 8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3758, allocations: 11.97 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.3758, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.896e-05/0.3759, allocations: 79.28 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3759, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002159/0.3761, allocations: 4 kB / 1.325 GB, free: 14.78 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005965/0.3767, allocations: 0.7006 MB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3769, allocations: 39.98 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3769, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-05/0.377, allocations: 19.98 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3773, allocations: 4 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.3777, allocations: 131.8 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.378, allocations: 0.6768 MB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.378, allocations: 4.125 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.3781, allocations: 11.44 kB / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3781, allocations: 3.938 kB / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.4025, allocations: 1.282 MB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.553, allocations: 4.062 kB / 1.328 GB, free: 11.9 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_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_Reals_Validation_Abs.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable abs1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv. Warning: Get data of variable abs1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.320949820103124]