Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 92.55 kB / 16.02 MB, free: 80 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.001204/0.001204, allocations: 183.1 kB / 16.92 MB, free: 6.926 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 15.94 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7385/0.7388, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06596/0.8048, allocations: 61.22 MB / 1.083 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01983/0.8247, allocations: 12.93 MB / 1.096 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.8277, allocations: 59.62 kB / 1.096 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.8309, allocations: 0.7887 MB / 1.097 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006562/0.8374, allocations: 1.831 MB / 1.099 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004957/0.8424, allocations: 1.23 MB / 1.1 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006597/0.849, allocations: 4.315 MB / 1.104 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.8513, allocations: 1.063 MB / 1.105 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.8543, allocations: 1.151 MB / 1.106 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.8564, allocations: 1.012 MB / 1.107 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004513/0.8569, allocations: 68 kB / 1.107 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.8605, allocations: 1.501 MB / 1.109 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006399/0.8612, allocations: 374.4 kB / 1.109 GB, free: 8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.8629, allocations: 0.8097 MB / 1.11 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.8666, allocations: 2.213 MB / 1.112 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.8667, allocations: 0 / 1.112 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.275e-06/0.8667, allocations: 0 / 1.112 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.766e-05/0.8668, allocations: 4 kB / 1.112 GB, free: 4.957 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.004677/0.8714, allocations: 1.856 MB / 1.114 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.8715, allocations: 19.98 kB / 1.114 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.8743, allocations: 0.5491 MB / 1.114 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.8777, allocations: 1.396 MB / 1.116 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008682/0.8786, allocations: 277.3 kB / 1.116 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.8789, allocations: 91.98 kB / 1.116 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.8821, allocations: 1.275 MB / 1.117 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.8822, allocations: 0 / 1.117 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.8823, allocations: 32 kB / 1.117 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.8823, allocations: 20 kB / 1.117 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003516/0.8859, allocations: 1.355 MB / 1.119 GB, free: 13.94 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008365/0.8943, allocations: 4.605 MB / 1.123 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008527/0.9028, allocations: 1.965 MB / 1.125 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.9041, allocations: 470.3 kB / 1.126 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009254/0.9051, allocations: 1.156 MB / 1.127 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.9065, allocations: 0.5456 MB / 1.127 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 3.366e-06/0.9065, allocations: 4 kB / 1.127 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.003793/0.9103, allocations: 1.415 MB / 1.129 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.9104, allocations: 81.67 kB / 1.129 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.9137, allocations: 1.638 MB / 1.13 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.9139, allocations: 37.7 kB / 1.13 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/0.9145, allocations: 0.6511 MB / 1.131 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.9148, allocations: 213 kB / 1.131 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.915, allocations: 61.69 kB / 1.131 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9151, allocations: 337.8 kB / 1.132 GB, free: 172 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.9165, allocations: 0.5134 MB / 1.132 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.9181, allocations: 0.6696 MB / 1.133 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.9206, allocations: 1.009 MB / 1.134 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.9206, allocations: 0 / 1.134 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00364/0.9242, allocations: 1.342 MB / 1.135 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.9244, allocations: 166.4 kB / 1.135 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.9244, allocations: 3.984 kB / 1.135 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.9244, allocations: 8 kB / 1.135 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.9255, allocations: 227.7 kB / 1.135 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.9256, allocations: 7.938 kB / 1.136 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.9274, allocations: 254.9 kB / 1.136 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.9276, allocations: 35.98 kB / 1.136 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.9276, allocations: 5.562 kB / 1.136 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003079/0.9307, allocations: 1.167 MB / 1.137 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.9307, allocations: 4 kB / 1.137 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.9307, allocations: 4 kB / 1.137 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.9318, allocations: 235.9 kB / 1.137 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.9318, allocations: 12 kB / 1.137 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.9334, allocations: 215.1 kB / 1.137 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.9336, allocations: 35.97 kB / 1.137 GB, free: 10.14 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0008261/0.9344, allocations: 424.9 kB / 1.138 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/0.9348, allocations: 158.1 kB / 1.138 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.9379, allocations: 1.281 MB / 1.139 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.9379, allocations: 8 kB / 1.139 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.9379, allocations: 0 / 1.139 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.938, allocations: 7.984 kB / 1.139 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005558/0.9435, allocations: 2.743 MB / 1.142 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.9436, allocations: 8.031 kB / 1.142 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.9443, allocations: 139.8 kB / 1.142 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.9443, allocations: 7.938 kB / 1.142 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.9444, allocations: 27.97 kB / 1.142 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.9444, allocations: 11.94 kB / 1.142 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9444, allocations: 0 / 1.142 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.9472, allocations: 1.284 MB / 1.143 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008884/0.9481, allocations: 394.8 kB / 1.144 GB, free: 3.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/0.9485, allocations: 19.94 kB / 1.144 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.9498, allocations: 123.8 kB / 1.144 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.9499, allocations: 56.31 kB / 1.144 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.785e-05/0.95, allocations: 35.97 kB / 1.144 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00234/0.9524, allocations: 1.165 MB / 1.145 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9524, allocations: 0 / 1.145 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002279/0.9547, allocations: 0.7136 MB / 1.146 GB, free: 1.387 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.00193/0.9566, allocations: 0.771 MB / 1.147 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004476/0.9611, allocations: 1.726 MB / 1.148 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9611, allocations: 4 kB / 1.148 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.9623, allocations: 0.5067 MB / 1.149 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/0.9666, allocations: 0.6445 MB / 1.149 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.9726, allocations: 3.063 MB / 1.152 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.9741, allocations: 1.235 MB / 1.154 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000772/0.9748, allocations: 131.4 kB / 1.154 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of SimCode: time 6.72e-07/0.9749, allocations: 4 kB / 1.154 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of Templates: time 0.04331/1.018, allocations: 25.94 MB / 1.179 GB, free: 15.68 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches