Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 106.6 kB / 16.4 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437.1 MB / 0.7171 GB, free: 4.074 MB / 0.5763 GB " [Timeout remaining time 177] 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.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 1.027 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.8778, allocations: 151.6 MB / 1.175 GB, free: 17.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07695/0.9548, allocations: 70.5 MB / 1.244 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02806/0.9829, allocations: 18.93 MB / 1.262 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004059/0.987, allocations: 71.69 kB / 1.262 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003222/0.9903, allocations: 0.8194 MB / 1.263 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009221/0.9995, allocations: 2.851 MB / 1.266 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004498/1.004, allocations: 1.656 MB / 1.267 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006381/1.01, allocations: 4.049 MB / 1.271 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/1.013, allocations: 1.456 MB / 1.273 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004623/1.018, allocations: 1.77 MB / 1.274 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/1.02, allocations: 1.183 MB / 1.276 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003928/1.021, allocations: 176 kB / 1.276 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/1.024, allocations: 1.412 MB / 1.277 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005013/1.025, allocations: 394.6 kB / 1.277 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/1.026, allocations: 0.9138 MB / 1.278 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005757/1.032, allocations: 3.111 MB / 1.281 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.032, allocations: 0 / 1.281 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.032, allocations: 4 kB / 1.281 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.172e-05/1.032, allocations: 4 kB / 1.281 GB, free: 11.51 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004331/1.036, allocations: 2.079 MB / 1.283 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.036, allocations: 16.56 kB / 1.283 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/1.037, allocations: 152.6 kB / 1.284 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/1.039, allocations: 459.1 kB / 1.284 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/1.042, allocations: 1.564 MB / 1.286 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/1.042, allocations: 82.03 kB / 1.286 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.042, allocations: 108 kB / 1.286 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/1.045, allocations: 1.313 MB / 1.287 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/1.045, allocations: 7.938 kB / 1.287 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.045, allocations: 40 kB / 1.287 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/1.045, allocations: 28 kB / 1.287 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/1.048, allocations: 1.101 MB / 1.288 GB, free: 4.332 MB / 0.9981 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.009671/1.058, allocations: 7.499 MB / 1.295 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/1.061, allocations: 0.813 MB / 1.296 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/1.062, allocations: 278 kB / 1.297 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/1.063, allocations: 1.722 MB / 1.298 GB, free: 9.117 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/1.063, allocations: 42.92 kB / 1.298 GB, free: 9.066 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 2.574e-06/1.063, allocations: 0 / 1.298 GB, free: 9.066 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.005099/1.068, allocations: 1.343 MB / 1.3 GB, free: 7.699 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/1.069, allocations: 55.84 kB / 1.3 GB, free: 7.633 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/1.071, allocations: 1.549 MB / 1.301 GB, free: 6.074 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-05/1.071, allocations: 37.7 kB / 1.301 GB, free: 6.031 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006512/1.072, allocations: 0.6857 MB / 1.302 GB, free: 5.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/1.072, allocations: 174.5 kB / 1.302 GB, free: 5.168 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/1.073, allocations: 174.5 kB / 1.302 GB, free: 4.992 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.073, allocations: 334 kB / 1.303 GB, free: 4.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/1.074, allocations: 361.8 kB / 1.303 GB, free: 4.305 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/1.075, allocations: 0.6661 MB / 1.304 GB, free: 3.508 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/1.077, allocations: 0.8945 MB / 1.304 GB, free: 2.508 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.077, allocations: 0 / 1.304 GB, free: 2.508 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003296/1.08, allocations: 1.198 MB / 1.306 GB, free: 1.301 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.08, allocations: 8 kB / 1.306 GB, free: 1.293 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.08, allocations: 8 kB / 1.306 GB, free: 1.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009048/1.081, allocations: 220.6 kB / 1.306 GB, free: 1.066 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/1.082, allocations: 195.7 kB / 1.306 GB, free: 0.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009623/1.083, allocations: 0.7279 MB / 1.307 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.085, allocations: 219 kB / 1.307 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.677e-05/1.085, allocations: 43.98 kB / 1.307 GB, free: 15.86 MB / 1.029 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006124/1.086, allocations: 358.5 kB / 1.307 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/1.086, allocations: 155 kB / 1.307 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/1.088, allocations: 1.138 MB / 1.309 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/1.088, allocations: 15.97 kB / 1.309 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.088, allocations: 0 / 1.309 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.088, allocations: 11.98 kB / 1.309 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005498/1.094, allocations: 2.499 MB / 1.311 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.094, allocations: 0 / 1.311 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/1.094, allocations: 88.06 kB / 1.311 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000832/1.095, allocations: 212.6 kB / 1.311 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/1.095, allocations: 15.98 kB / 1.311 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/1.097, allocations: 0.7708 MB / 1.312 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.097, allocations: 4.031 kB / 1.312 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003664/1.1, allocations: 1.208 MB / 1.313 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/1.101, allocations: 367.6 kB / 1.314 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/1.101, allocations: 12 kB / 1.314 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/1.102, allocations: 75.91 kB / 1.314 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/1.102, allocations: 44.45 kB / 1.314 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/1.102, allocations: 28.16 kB / 1.314 GB, free: 8.691 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001928/1.104, allocations: 1.082 MB / 1.315 GB, free: 7.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.104, allocations: 3.938 kB / 1.315 GB, free: 7.609 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001337/1.106, allocations: 447.1 kB / 1.315 GB, free: 7.172 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004885/1.111, allocations: 2.14 MB / 1.317 GB, free: 4.992 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002365/1.113, allocations: 0.8484 MB / 1.318 GB, free: 4.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.113, allocations: 0 / 1.318 GB, free: 4.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/1.114, allocations: 443.6 kB / 1.319 GB, free: 3.715 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/1.118, allocations: 0.7456 MB / 1.319 GB, free: 2.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.137, allocations: 10.51 MB / 1.33 GB, free: 8.098 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008312/1.138, allocations: 1.168 MB / 1.331 GB, free: 6.898 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001086/1.139, allocations: 264.2 kB / 1.331 GB, free: 6.637 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000789/1.139, allocations: 0.5461 MB / 1.331 GB, free: 6.09 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/1.139, allocations: 0 / 1.331 GB, free: 6.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09048/1.23, allocations: 43.74 MB / 1.374 GB, free: 10.8 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.94, allocations: 7.938 kB / 1.374 GB, free: 10.79 MB / 1.092 GB " [Timeout remaining time 284] (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: 21.967369640944526]