Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_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.00111/0.00111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.5193, allocations: 140.4 MB / 0.9497 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002794/0.5222, allocations: 2.363 MB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.5235, allocations: 1.402 MB / 0.9534 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.5237, allocations: 2.656 kB / 0.9534 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.5241, allocations: 209.1 kB / 0.9536 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.832e-05/0.5242, allocations: 74.34 kB / 0.9537 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.5245, allocations: 118.6 kB / 0.9538 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.5247, allocations: 325.4 kB / 0.9541 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.5249, allocations: 54.81 kB / 0.9541 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.525, allocations: 130 kB / 0.9543 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.5252, allocations: 190.3 kB / 0.9545 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.5253, allocations: 32.34 kB / 0.9545 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.5254, allocations: 68.44 kB / 0.9545 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.669e-05/0.5255, allocations: 124.1 kB / 0.9547 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.5256, allocations: 169.7 kB / 0.9548 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.526, allocations: 492.4 kB / 0.9553 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.526, allocations: 0 / 0.9553 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.526, allocations: 1.375 kB / 0.9553 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.526, allocations: 0 / 0.9553 GB, free: 4.906 MB / 0.7169 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.0009703/0.527, allocations: 0.7072 MB / 0.956 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.527, allocations: 13.5 kB / 0.956 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.5271, allocations: 52.77 kB / 0.9561 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008039/0.5279, allocations: 140.7 kB / 0.9562 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.5282, allocations: 353.3 kB / 0.9565 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.212e-05/0.5283, allocations: 83.91 kB / 0.9566 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.5283, allocations: 12.38 kB / 0.9566 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006356/0.529, allocations: 303.3 kB / 0.9569 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.529, allocations: 0 / 0.9569 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.529, allocations: 5.344 kB / 0.9569 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.529, allocations: 2.531 kB / 0.9569 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.53, allocations: 418.3 kB / 0.9573 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.5314, allocations: 0.8617 MB / 0.9582 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.532, allocations: 269.6 kB / 0.9584 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/0.5325, allocations: 219.5 kB / 0.9586 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.5325, allocations: 2.344 kB / 0.9586 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.5325, allocations: 35.34 kB / 0.9587 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.5325, allocations: 5.109 kB / 0.9587 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001627/0.5342, allocations: 0.6489 MB / 0.9593 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.5342, allocations: 61.5 kB / 0.9594 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.5346, allocations: 421.6 kB / 0.9598 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.5346, allocations: 31.95 kB / 0.9598 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/0.5347, allocations: 176.7 kB / 0.96 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.5347, allocations: 62.09 kB / 0.96 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.5348, allocations: 36.55 kB / 0.96 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.5349, allocations: 348.6 kB / 0.9604 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.5354, allocations: 199.7 kB / 0.9606 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.5359, allocations: 227.6 kB / 0.9608 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009309/0.5369, allocations: 374.3 kB / 0.9611 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5369, allocations: 0 / 0.9611 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00106/0.5379, allocations: 460.5 kB / 0.9616 GB, free: 360 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.538, allocations: 11.27 kB / 0.9616 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.538, allocations: 0 / 0.9616 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.538, allocations: 1.219 kB / 0.9616 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.5384, allocations: 66.72 kB / 0.9617 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5384, allocations: 9.25 kB / 0.9617 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.5387, allocations: 46.53 kB / 0.9617 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.5388, allocations: 11.52 kB / 0.9617 GB, free: 284 kB / 0.7169 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.0001334/0.5389, allocations: 161.8 kB / 0.9619 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.539, allocations: 31.22 kB / 0.9619 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.5391, allocations: 39.72 kB / 0.9619 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5391, allocations: 6.656 kB / 0.962 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5391, allocations: 7.984 kB / 0.962 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5391, allocations: 3.938 kB / 0.962 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.5396, allocations: 479.7 kB / 0.9624 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5396, allocations: 4 kB / 0.9624 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.54, allocations: 63.73 kB / 0.9625 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.54, allocations: 1.094 kB / 0.9625 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.54, allocations: 9.078 kB / 0.9625 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.54, allocations: 5 kB / 0.9625 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.54, allocations: 0 / 0.9625 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.5412, allocations: 0.5479 MB / 0.963 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.5413, allocations: 120 kB / 0.9631 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.5414, allocations: 5.25 kB / 0.9632 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.5417, allocations: 36.77 kB / 0.9632 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.5418, allocations: 25.06 kB / 0.9632 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.5419, allocations: 8.109 kB / 0.9632 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002986/0.5422, allocations: 311 kB / 0.9635 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5422, allocations: 0 / 0.9635 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000313/0.5425, allocations: 62 kB / 0.9636 GB, free: 14.89 MB / 0.7325 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.001444/0.5439, allocations: 1.098 MB / 0.9646 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.5451, allocations: 444.1 kB / 0.9651 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5451, allocations: 4 kB / 0.9651 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.5457, allocations: 237.8 kB / 0.9653 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.5461, allocations: 48.02 kB / 0.9653 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.5523, allocations: 4.173 MB / 0.9694 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.5526, allocations: 0.8006 MB / 0.9702 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002586/0.5529, allocations: 69.52 kB / 0.9703 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.5531, allocations: 105.7 kB / 0.9704 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5531, allocations: 1.188 kB / 0.9704 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.477/5.03, allocations: 7.795 MB / 0.978 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/12.62, allocations: 10 kB / 0.978 GB, free: 4.609 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches