Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.001486/0.001486, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00164/0.00164, allocations: 213.1 kB / 22.24 MB, free: 5.258 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.345/1.345, allocations: 230.6 MB / 256 MB, free: 7.812 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 2.882/2.882, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",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.001872/0.001872, allocations: 70.45 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3033, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003445/0.3067, allocations: 2.294 MB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3087, allocations: 1.343 MB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3088, allocations: 8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.3093, allocations: 183 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.3094, allocations: 79.28 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.3097, allocations: 139.6 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.3101, allocations: 338.7 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3102, allocations: 29.16 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.3104, allocations: 139.5 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.3107, allocations: 191.3 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.3107, allocations: 32 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.3109, allocations: 79.89 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.311, allocations: 123.6 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3112, allocations: 143.3 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.3117, allocations: 0.4903 MB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3117, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3117, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3117, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001206/0.3129, allocations: 0.6444 MB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3129, allocations: 12.03 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/0.313, allocations: 46.73 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.3141, allocations: 188.4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.3145, allocations: 304.7 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.3147, allocations: 195 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.3148, allocations: 12.38 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/0.3155, allocations: 304.8 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3155, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.3155, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3155, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3166, allocations: 416.4 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.3181, allocations: 0.7527 MB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.3188, allocations: 258.4 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.3193, allocations: 204.7 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3193, allocations: 4 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3193, allocations: 34.56 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.976e-06/0.3193, allocations: 7.938 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001685/0.321, allocations: 0.6513 MB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3211, allocations: 55.34 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.3215, allocations: 429.6 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.3215, allocations: 29.7 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.3217, allocations: 180 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.3218, allocations: 63.47 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.3219, allocations: 41.69 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.322, allocations: 350.8 kB / 1.336 GB, free: 6.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.3225, allocations: 191.9 kB / 1.336 GB, free: 6.375 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.3231, allocations: 308.3 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.324, allocations: 374 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.324, allocations: 4 kB / 1.337 GB, free: 5.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001133/0.3252, allocations: 470.8 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3252, allocations: 8 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3252, allocations: 0 / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3252, allocations: 0 / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.3257, allocations: 63.86 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3257, allocations: 3.938 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.326, allocations: 47.83 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.326, allocations: 8 kB / 1.338 GB, free: 5.078 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.000185/0.3262, allocations: 165.8 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.3263, allocations: 35.77 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.3263, allocations: 39.53 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3263, allocations: 7.984 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3263, allocations: 3.984 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3264, allocations: 3.984 kB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.3268, allocations: 370.2 kB / 1.338 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3268, allocations: 0 / 1.338 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.3273, allocations: 67.86 kB / 1.338 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3273, allocations: 0 / 1.338 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.3273, allocations: 11.98 kB / 1.338 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3273, allocations: 3.938 kB / 1.338 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3273, allocations: 0 / 1.338 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3285, allocations: 0.5511 MB / 1.339 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.3285, allocations: 47.75 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.3286, allocations: 0 / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.3289, allocations: 35.89 kB / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.329, allocations: 23.95 kB / 1.339 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.3291, allocations: 12 kB / 1.339 GB, free: 3.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003276/0.3294, allocations: 311.1 kB / 1.339 GB, free: 3.352 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3294, allocations: 0 / 1.339 GB, free: 3.352 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003428/0.3297, allocations: 71.94 kB / 1.339 GB, free: 3.281 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001498/0.3312, allocations: 1.1 MB / 1.34 GB, free: 2.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.3323, allocations: 425.7 kB / 1.341 GB, free: 1.738 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3323, allocations: 0 / 1.341 GB, free: 1.738 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.3329, allocations: 219.8 kB / 1.341 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3333, allocations: 49.36 kB / 1.341 GB, free: 1.477 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006523/0.3398, allocations: 4.153 MB / 1.345 GB, free: 13.24 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.34, allocations: 187.4 kB / 1.345 GB, free: 13.04 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002764/0.3403, allocations: 66.25 kB / 1.345 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.3405, allocations: 111.4 kB / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of SimCode: time 6.91e-07/0.3405, allocations: 0 / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.3765, allocations: 8.982 MB / 1.354 GB, free: 4.082 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.82, allocations: 4.062 kB / 1.354 GB, free: 4.078 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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: 16.785291657986818]