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.001532/0.001532, allocations: 102.1 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.001645/0.001645, 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.399/1.399, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.004/3.004, allocations: 0.49 GB / 0.7916 GB, free: 33.42 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.001939/0.001939, allocations: 67.39 kB / 1.149 GB, free: 26.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 176.1 MB / 1.321 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004459/0.3159, allocations: 2.415 MB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002785/0.3187, allocations: 1.464 MB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.3189, allocations: 7.938 kB / 1.325 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.3196, allocations: 214.8 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.3198, allocations: 75.36 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.3203, allocations: 139.6 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.3208, allocations: 326.8 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.321, allocations: 33 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.3214, allocations: 147.5 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.3217, allocations: 195.4 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.3218, allocations: 32 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.322, allocations: 71.97 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.3221, allocations: 123.6 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.3223, allocations: 178.9 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.3229, allocations: 0.4942 MB / 1.327 GB, free: 13.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3229, allocations: 4 kB / 1.327 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.568e-06/0.323, allocations: 3.984 kB / 1.327 GB, free: 13.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.323, allocations: 0 / 1.327 GB, free: 13.52 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.001354/0.3243, allocations: 0.7159 MB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3244, allocations: 15.98 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.3244, allocations: 46.75 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.3256, allocations: 184.4 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.3261, allocations: 366.4 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.3262, allocations: 84.19 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.3263, allocations: 12.38 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/0.327, allocations: 308.1 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.327, allocations: 3.984 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.3271, allocations: 8 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3271, allocations: 0 / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3282, allocations: 424.3 kB / 1.329 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.3299, allocations: 0.8549 MB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/0.3305, allocations: 258.4 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.3311, allocations: 208.7 kB / 1.33 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.3311, allocations: 3.984 kB / 1.33 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3311, allocations: 34.56 kB / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.3311, allocations: 4 kB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001847/0.333, allocations: 0.6516 MB / 1.331 GB, free: 9.188 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.333, allocations: 59.28 kB / 1.331 GB, free: 9.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.3335, allocations: 429.6 kB / 1.331 GB, free: 8.688 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.3335, allocations: 29.69 kB / 1.331 GB, free: 8.652 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.3337, allocations: 176.1 kB / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/0.3338, allocations: 59.48 kB / 1.331 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3339, allocations: 41.69 kB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.334, allocations: 354.7 kB / 1.332 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.3346, allocations: 191.9 kB / 1.332 GB, free: 7.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.3352, allocations: 239.2 kB / 1.332 GB, free: 7.582 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3362, allocations: 362.7 kB / 1.332 GB, free: 7.227 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3362, allocations: 3.984 kB / 1.332 GB, free: 7.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0012/0.3374, allocations: 470.7 kB / 1.333 GB, free: 6.758 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3374, allocations: 4 kB / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3374, allocations: 0 / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3374, allocations: 0 / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.3379, allocations: 71.86 kB / 1.333 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3379, allocations: 0 / 1.333 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.3382, allocations: 51.77 kB / 1.333 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3382, allocations: 4 kB / 1.333 GB, free: 6.629 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.0002594/0.3385, allocations: 165.8 kB / 1.333 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.3386, allocations: 35.77 kB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.3386, allocations: 43.59 kB / 1.333 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3387, allocations: 7.938 kB / 1.333 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3387, allocations: 0 / 1.333 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3387, allocations: 3.984 kB / 1.333 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.3392, allocations: 467 kB / 1.334 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3392, allocations: 4 kB / 1.334 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.3397, allocations: 59.92 kB / 1.334 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3397, allocations: 0 / 1.334 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.3397, allocations: 11.98 kB / 1.334 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.3397, allocations: 7.938 kB / 1.334 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3397, allocations: 3.938 kB / 1.334 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.341, allocations: 0.5553 MB / 1.334 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3411, allocations: 120.8 kB / 1.334 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.3412, allocations: 4 kB / 1.334 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.3415, allocations: 35.89 kB / 1.334 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.3416, allocations: 19.97 kB / 1.335 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.3416, allocations: 11.98 kB / 1.335 GB, free: 5.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003568/0.342, allocations: 311.1 kB / 1.335 GB, free: 4.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.342, allocations: 4 kB / 1.335 GB, free: 4.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003301/0.3423, allocations: 60 kB / 1.335 GB, free: 4.641 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.001642/0.344, allocations: 1.102 MB / 1.336 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.3452, allocations: 425.5 kB / 1.336 GB, free: 3.094 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3452, allocations: 0 / 1.336 GB, free: 3.094 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/0.3457, allocations: 215.8 kB / 1.337 GB, free: 2.883 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.3462, allocations: 65.38 kB / 1.337 GB, free: 2.816 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.353, allocations: 4.154 MB / 1.341 GB, free: 14.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.3535, allocations: 0.8024 MB / 1.341 GB, free: 13.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002799/0.3538, allocations: 54.27 kB / 1.342 GB, free: 13.69 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.354, allocations: 107.4 kB / 1.342 GB, free: 13.59 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.354, allocations: 4 kB / 1.342 GB, free: 13.58 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.3856, allocations: 8.011 MB / 1.349 GB, free: 5.777 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.243, allocations: 15.92 kB / 1.349 GB, free: 5.762 MB / 1.045 GB " [Timeout remaining time 292] (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: 14.414657176006585]