Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004446/0.004446, allocations: 100.3 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 193.3 kB / 16.68 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.313/2.313, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2305, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003088/0.2336, allocations: 2.377 MB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.2354, allocations: 1.406 MB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.2355, allocations: 4 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.236, allocations: 198.9 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.2361, allocations: 75.34 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.2364, allocations: 115.7 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.2367, allocations: 330.8 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2368, allocations: 52.72 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.237, allocations: 119.5 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2373, allocations: 187.4 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.2373, allocations: 32 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.2375, allocations: 63.97 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.2376, allocations: 127.6 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.2377, allocations: 183 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.2382, allocations: 498.4 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2382, allocations: 4 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2382, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2382, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 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.001083/0.2393, allocations: 0.7158 MB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2393, allocations: 12.03 kB / 1.173 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.2394, allocations: 46.75 kB / 1.173 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.2402, allocations: 148.5 kB / 1.173 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.2406, allocations: 358.6 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.723e-05/0.2407, allocations: 84.19 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.2407, allocations: 12.38 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.2414, allocations: 303.2 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2414, allocations: 0 / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.2415, allocations: 4 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.2415, allocations: 4 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2425, allocations: 417.1 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.2439, allocations: 0.8664 MB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.2446, allocations: 274.4 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.2451, allocations: 220.7 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.2451, allocations: 4 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2451, allocations: 34.56 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.2451, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.001642/0.2468, allocations: 0.6496 MB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2468, allocations: 55.34 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.2473, allocations: 425.6 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.2473, allocations: 33.7 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.2474, allocations: 180 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.2475, allocations: 63.47 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.2476, allocations: 41.64 kB / 1.177 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2477, allocations: 350.8 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.2483, allocations: 195.8 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.2488, allocations: 233 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009401/0.2497, allocations: 370.5 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2498, allocations: 0 / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001095/0.2509, allocations: 461.1 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2509, allocations: 11.98 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.2509, allocations: 4 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2509, allocations: 0 / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.2514, allocations: 59.88 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2514, allocations: 3.938 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.2517, allocations: 47.83 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2517, allocations: 4 kB / 1.178 GB, free: 10.64 MB / 0.9356 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.000164/0.2519, allocations: 173.8 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.2519, allocations: 35.77 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.252, allocations: 39.59 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.252, allocations: 3.938 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.252, allocations: 3.984 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.252, allocations: 4 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.2525, allocations: 482.6 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2525, allocations: 0 / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.2529, allocations: 63.86 kB / 1.179 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2529, allocations: 8 kB / 1.179 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.253, allocations: 3.984 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.253, allocations: 3.938 kB / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.253, allocations: 3.938 kB / 1.179 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.2541, allocations: 0.5515 MB / 1.18 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.2542, allocations: 116.9 kB / 1.18 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.2542, allocations: 4 kB / 1.18 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.2546, allocations: 31.89 kB / 1.18 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.2546, allocations: 27.97 kB / 1.18 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.2547, allocations: 15.98 kB / 1.18 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000308/0.255, allocations: 307.1 kB / 1.18 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.255, allocations: 0 / 1.18 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002809/0.2553, allocations: 67.95 kB / 1.18 GB, free: 8.633 MB / 0.9356 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.00142/0.2567, allocations: 1.096 MB / 1.181 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.2578, allocations: 437.2 kB / 1.182 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2578, allocations: 0 / 1.182 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.2584, allocations: 227.8 kB / 1.182 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.2587, allocations: 61.34 kB / 1.182 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.2647, allocations: 4.132 MB / 1.186 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.2651, allocations: 0.7909 MB / 1.187 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.2653, allocations: 66.3 kB / 1.187 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.2655, allocations: 103.4 kB / 1.187 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2655, allocations: 0 / 1.187 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.963/4.229, allocations: 7.931 MB / 1.195 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/12.76, allocations: 4.516 kB / 1.195 GB, free: 9.867 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches