Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_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.005335/0.005335, allocations: 99.75 kB / 15.73 MB, free: 6.453 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.001389/0.001389, allocations: 196.3 kB / 16.68 MB, free: 6.352 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.538/2.538, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 71.83 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2548, allocations: 162.3 MB / 1.242 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003018/0.2579, allocations: 2.376 MB / 1.244 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.2596, allocations: 1.402 MB / 1.246 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.2597, allocations: 4 kB / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.2602, allocations: 202.9 kB / 1.246 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.2603, allocations: 75.34 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.2606, allocations: 127.7 kB / 1.246 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.2609, allocations: 322.8 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.261, allocations: 52.7 kB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.2612, allocations: 127.5 kB / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.2614, allocations: 183.3 kB / 1.247 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.2615, allocations: 32 kB / 1.247 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.2616, allocations: 75.95 kB / 1.247 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.2617, allocations: 123.6 kB / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2619, allocations: 171 kB / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.2623, allocations: 490.2 kB / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2624, allocations: 7.938 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2624, allocations: 0 / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2624, allocations: 0 / 1.247 GB, free: 4.031 MB / 0.9981 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.001085/0.2635, allocations: 0.7236 MB / 1.248 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2635, allocations: 12.03 kB / 1.248 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/0.2636, allocations: 46.73 kB / 1.248 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007684/0.2643, allocations: 148.5 kB / 1.248 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.2647, allocations: 354.6 kB / 1.249 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.712e-05/0.2648, allocations: 84.19 kB / 1.249 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.2649, allocations: 12.31 kB / 1.249 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.2655, allocations: 304.2 kB / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2656, allocations: 0 / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.2656, allocations: 4 kB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2656, allocations: 8 kB / 1.249 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2667, allocations: 416.4 kB / 1.249 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.2681, allocations: 0.8704 MB / 1.25 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.2687, allocations: 266.4 kB / 1.251 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.2692, allocations: 216.7 kB / 1.251 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.2693, allocations: 4 kB / 1.251 GB, free: 440 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2693, allocations: 38.56 kB / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.2693, allocations: 0 / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.4297/0.699, allocations: 0.6466 MB / 1.251 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.6991, allocations: 56.59 kB / 1.252 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.6995, allocations: 422.8 kB / 1.252 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.6996, allocations: 31.77 kB / 1.252 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.6997, allocations: 176.2 kB / 1.252 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.6998, allocations: 68.59 kB / 1.252 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.6999, allocations: 40.77 kB / 1.252 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.6999, allocations: 348.9 kB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/0.7005, allocations: 194.2 kB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.701, allocations: 231.9 kB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.702, allocations: 367.5 kB / 1.253 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.702, allocations: 0.5625 kB / 1.253 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001137/0.7031, allocations: 469.2 kB / 1.254 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7031, allocations: 11.72 kB / 1.254 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7031, allocations: 4.312 kB / 1.254 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7032, allocations: 0.9062 kB / 1.254 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.7036, allocations: 58.62 kB / 1.254 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.7036, allocations: 0.6875 kB / 1.254 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.7039, allocations: 40.41 kB / 1.254 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.704, allocations: 6.234 kB / 1.254 GB, free: 14.15 MB / 0.9981 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.0001299/0.7041, allocations: 168.9 kB / 1.254 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.7042, allocations: 43.77 kB / 1.254 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.7042, allocations: 42.3 kB / 1.254 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.7042, allocations: 5 kB / 1.254 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7042, allocations: 2.469 kB / 1.254 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7042, allocations: 1.828 kB / 1.254 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.7047, allocations: 471.7 kB / 1.255 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7047, allocations: 0 / 1.255 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.7051, allocations: 66.03 kB / 1.255 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.7051, allocations: 1.547 kB / 1.255 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.7051, allocations: 7.734 kB / 1.255 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7052, allocations: 4.812 kB / 1.255 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7052, allocations: 2.297 kB / 1.255 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.7063, allocations: 0.5505 MB / 1.255 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.7063, allocations: 125.7 kB / 1.255 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.7064, allocations: 2.297 kB / 1.255 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.7067, allocations: 34.34 kB / 1.255 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.7068, allocations: 25.98 kB / 1.255 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.7069, allocations: 8.766 kB / 1.255 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002803/0.7071, allocations: 308.8 kB / 1.256 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7072, allocations: 0 / 1.256 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002967/0.7075, allocations: 64 kB / 1.256 GB, free: 13.07 MB / 0.9981 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.001262/0.7087, allocations: 1.099 MB / 1.257 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.7098, allocations: 436.4 kB / 1.257 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7098, allocations: 0 / 1.257 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.7104, allocations: 233.6 kB / 1.257 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.7107, allocations: 47.66 kB / 1.257 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.7163, allocations: 4.146 MB / 1.262 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.7165, allocations: 0.7912 MB / 1.262 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002474/0.7168, allocations: 64.17 kB / 1.262 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.717, allocations: 110.9 kB / 1.262 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.717, allocations: 0.8438 kB / 1.262 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.361/1.078, allocations: 7.932 MB / 1.27 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.07, allocations: 9.938 kB / 1.27 GB, free: 8.27 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches