Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.001754/0.001754, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002035/0.002035, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.087/3.087, allocations: 0.5003 GB / 0.8026 GB, free: 6.645 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="cs",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.002056/0.002056, allocations: 67.88 kB / 1.165 GB, free: 420 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 179 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1511/1.177, allocations: 133.9 MB / 1.471 GB, free: 13.13 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03892/1.216, allocations: 23.26 MB / 1.494 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007352/1.223, allocations: 173.4 kB / 1.494 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005643/1.229, allocations: 1.553 MB / 1.495 GB, free: 8.707 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01474/1.243, allocations: 4.294 MB / 1.5 GB, free: 4.977 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006793/1.25, allocations: 2.183 MB / 1.502 GB, free: 2.812 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01112/1.261, allocations: 6.514 MB / 1.508 GB, free: 12.28 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003876/1.265, allocations: 1.906 MB / 1.51 GB, free: 10.32 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00847/1.274, allocations: 3.093 MB / 1.513 GB, free: 7.223 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004241/1.278, allocations: 1.925 MB / 1.515 GB, free: 5.289 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001047/1.279, allocations: 248 kB / 1.515 GB, free: 5.047 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007492/1.286, allocations: 2.012 MB / 1.517 GB, free: 3.031 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001484/1.288, allocations: 0.6223 MB / 1.518 GB, free: 2.406 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00297/1.291, allocations: 1.458 MB / 1.519 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/1.301, allocations: 4.465 MB / 1.523 GB, free: 12.46 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.301, allocations: 0 / 1.523 GB, free: 12.46 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.595e-06/1.301, allocations: 0 / 1.523 GB, free: 12.46 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.204e-05/1.301, allocations: 0 / 1.523 GB, free: 12.46 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007336/1.308, allocations: 3.258 MB / 1.527 GB, free: 9.113 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.309, allocations: 12.03 kB / 1.527 GB, free: 9.102 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.132e-05/1.309, allocations: 46.98 kB / 1.527 GB, free: 9.055 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003094/1.309, allocations: 223.8 kB / 1.527 GB, free: 8.824 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004891/1.314, allocations: 0.8528 MB / 1.528 GB, free: 7.969 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005449/1.319, allocations: 2.364 MB / 1.53 GB, free: 5.531 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/1.319, allocations: 123 kB / 1.53 GB, free: 5.41 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/1.32, allocations: 160 kB / 1.53 GB, free: 5.254 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/1.324, allocations: 1.934 MB / 1.532 GB, free: 3.254 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/1.324, allocations: 4 kB / 1.532 GB, free: 3.25 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/1.324, allocations: 60 kB / 1.532 GB, free: 3.191 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/1.324, allocations: 40 kB / 1.532 GB, free: 3.152 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005227/1.33, allocations: 1.792 MB / 1.534 GB, free: 1.359 MB / 1.201 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.01562/1.345, allocations: 8.991 MB / 1.543 GB, free: 7.77 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004783/1.35, allocations: 1.151 MB / 1.544 GB, free: 6.605 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/1.351, allocations: 434.2 kB / 1.544 GB, free: 6.176 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/1.353, allocations: 1.726 MB / 1.546 GB, free: 4.062 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/1.353, allocations: 42.56 kB / 1.546 GB, free: 4.012 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 3.236e-06/1.353, allocations: 4 kB / 1.546 GB, free: 4.008 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.009896/1.363, allocations: 2.326 MB / 1.548 GB, free: 1.629 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/1.363, allocations: 89.05 kB / 1.548 GB, free: 1.523 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004929/1.368, allocations: 2.509 MB / 1.551 GB, free: 15 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/1.368, allocations: 45.7 kB / 1.551 GB, free: 14.95 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/1.369, allocations: 1.051 MB / 1.552 GB, free: 13.89 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/1.37, allocations: 281.6 kB / 1.552 GB, free: 13.61 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004923/1.37, allocations: 250.8 kB / 1.552 GB, free: 13.36 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.37, allocations: 349.9 kB / 1.553 GB, free: 13.01 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/1.372, allocations: 0.5725 MB / 1.553 GB, free: 12.44 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/1.375, allocations: 0.956 MB / 1.554 GB, free: 11.34 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/1.378, allocations: 1.244 MB / 1.555 GB, free: 9.98 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.378, allocations: 7.938 kB / 1.555 GB, free: 9.973 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00745/1.386, allocations: 2.018 MB / 1.557 GB, free: 7.941 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.386, allocations: 8 kB / 1.557 GB, free: 7.934 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.386, allocations: 8 kB / 1.557 GB, free: 7.926 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/1.387, allocations: 429.7 kB / 1.558 GB, free: 7.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.389, allocations: 279.6 kB / 1.558 GB, free: 7.227 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/1.391, allocations: 1.503 MB / 1.56 GB, free: 5.672 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/1.394, allocations: 374.5 kB / 1.56 GB, free: 5.305 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/1.395, allocations: 60.06 kB / 1.56 GB, free: 5.246 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001032/1.396, allocations: 473.4 kB / 1.56 GB, free: 4.773 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/1.396, allocations: 254.4 kB / 1.561 GB, free: 4.523 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/1.4, allocations: 1.494 MB / 1.562 GB, free: 3.008 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/1.4, allocations: 11.98 kB / 1.562 GB, free: 2.996 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/1.4, allocations: 0 / 1.562 GB, free: 2.996 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.4, allocations: 3.984 kB / 1.562 GB, free: 2.992 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008788/1.409, allocations: 3.604 MB / 1.566 GB, free: 15.28 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.409, allocations: 4 kB / 1.566 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/1.41, allocations: 128.2 kB / 1.566 GB, free: 15.15 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/1.412, allocations: 417.2 kB / 1.566 GB, free: 14.73 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/1.412, allocations: 23.98 kB / 1.566 GB, free: 14.71 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/1.415, allocations: 1.573 MB / 1.568 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.415, allocations: 7.938 kB / 1.568 GB, free: 13.08 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006779/1.421, allocations: 1.941 MB / 1.57 GB, free: 11.08 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.423, allocations: 499 kB / 1.57 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/1.423, allocations: 24 kB / 1.57 GB, free: 10.55 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/1.425, allocations: 135.8 kB / 1.57 GB, free: 10.41 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.425, allocations: 63.8 kB / 1.57 GB, free: 10.35 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.425, allocations: 40.06 kB / 1.57 GB, free: 10.31 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003339/1.428, allocations: 1.762 MB / 1.572 GB, free: 8.547 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.428, allocations: 0 / 1.572 GB, free: 8.547 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002191/1.431, allocations: 0.6979 MB / 1.573 GB, free: 7.848 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008039/1.439, allocations: 2.986 MB / 1.576 GB, free: 4.781 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004689/1.443, allocations: 1.303 MB / 1.577 GB, free: 3.484 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.443, allocations: 0 / 1.577 GB, free: 3.484 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002552/1.446, allocations: 0.6335 MB / 1.578 GB, free: 2.852 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00688/1.453, allocations: 1.323 MB / 1.579 GB, free: 1.547 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04277/1.496, allocations: 16.77 MB / 1.595 GB, free: 304 kB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.497, allocations: 1.49 MB / 1.597 GB, free: 14.77 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001893/1.499, allocations: 440.5 kB / 1.597 GB, free: 14.34 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/1.5, allocations: 0.8976 MB / 1.598 GB, free: 13.45 MB / 1.279 GB Notification: Performance of SimCode: time 9.52e-07/1.5, allocations: 0 / 1.598 GB, free: 13.45 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/1.627, allocations: 66.15 MB / 1.663 GB, free: 12.05 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.8/19.42, allocations: 6.188 kB / 1.663 GB, free: 12.05 MB / 1.342 GB " [Timeout remaining time 280] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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: 26.509503083012532]