Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.00534/0.00534, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001076/0.001077, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 68.3 kB / 1.054 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3046, allocations: 157.4 MB / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.7217/1.026, allocations: 70.5 MB / 1.276 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02313/1.049, allocations: 18.93 MB / 1.295 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/1.053, allocations: 66.34 kB / 1.295 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002463/1.055, allocations: 0.8237 MB / 1.295 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008807/1.064, allocations: 2.849 MB / 1.298 GB, free: 12.19 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004911/1.069, allocations: 1.656 MB / 1.3 GB, free: 11.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006861/1.076, allocations: 4.051 MB / 1.304 GB, free: 9.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/1.078, allocations: 1.46 MB / 1.305 GB, free: 8.445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/1.083, allocations: 1.799 MB / 1.307 GB, free: 7.516 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/1.086, allocations: 1.179 MB / 1.308 GB, free: 6.957 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004017/1.086, allocations: 179.4 kB / 1.308 GB, free: 6.953 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/1.09, allocations: 1.414 MB / 1.31 GB, free: 6.445 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/1.09, allocations: 378.8 kB / 1.31 GB, free: 6.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/1.092, allocations: 0.9254 MB / 1.311 GB, free: 5.582 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005578/1.097, allocations: 3.097 MB / 1.314 GB, free: 4.426 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.097, allocations: 0 / 1.314 GB, free: 4.426 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/1.097, allocations: 0 / 1.314 GB, free: 4.426 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.958e-05/1.097, allocations: 1.156 kB / 1.314 GB, free: 4.426 MB / 1.014 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.00451/1.102, allocations: 2.03 MB / 1.316 GB, free: 3.055 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.102, allocations: 10.92 kB / 1.316 GB, free: 3.055 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/1.102, allocations: 153.9 kB / 1.316 GB, free: 2.953 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/1.105, allocations: 448.4 kB / 1.317 GB, free: 2.848 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/1.108, allocations: 1.55 MB / 1.318 GB, free: 1.891 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/1.108, allocations: 78.34 kB / 1.318 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/1.108, allocations: 106.1 kB / 1.318 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/1.11, allocations: 1.315 MB / 1.32 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/1.111, allocations: 6.031 kB / 1.32 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.111, allocations: 50.73 kB / 1.32 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/1.111, allocations: 31.06 kB / 1.32 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/1.113, allocations: 1.092 MB / 1.321 GB, free: 0.6797 MB / 1.014 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.01029/1.124, allocations: 7.505 MB / 1.328 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/1.127, allocations: 0.8049 MB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/1.127, allocations: 277.1 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/1.129, allocations: 1.719 MB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/1.129, allocations: 48.83 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 2.756e-06/1.129, allocations: 0 / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.004806/1.134, allocations: 1.333 MB / 1.332 GB, free: 7.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/1.134, allocations: 56.84 kB / 1.332 GB, free: 7.758 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/1.137, allocations: 1.544 MB / 1.334 GB, free: 7.133 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.137, allocations: 39.36 kB / 1.334 GB, free: 7.094 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006905/1.138, allocations: 0.6738 MB / 1.334 GB, free: 6.555 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/1.138, allocations: 171.1 kB / 1.335 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000378/1.138, allocations: 179.3 kB / 1.335 GB, free: 6.332 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.139, allocations: 336.8 kB / 1.335 GB, free: 6.012 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009578/1.139, allocations: 364.2 kB / 1.335 GB, free: 5.895 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/1.141, allocations: 0.6537 MB / 1.336 GB, free: 5.406 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/1.143, allocations: 0.8885 MB / 1.337 GB, free: 4.824 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/1.143, allocations: 13.56 kB / 1.337 GB, free: 4.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003199/1.146, allocations: 1.189 MB / 1.338 GB, free: 4.336 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/1.146, allocations: 8.75 kB / 1.338 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/1.146, allocations: 11.97 kB / 1.338 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009618/1.147, allocations: 220.8 kB / 1.338 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/1.148, allocations: 191.4 kB / 1.338 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009482/1.149, allocations: 0.7209 MB / 1.339 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.151, allocations: 209.6 kB / 1.339 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/1.151, allocations: 53.17 kB / 1.339 GB, free: 3.562 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.0007758/1.152, allocations: 353.5 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/1.152, allocations: 146.2 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/1.155, allocations: 1.144 MB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/1.155, allocations: 9.766 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.155, allocations: 0 / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.155, allocations: 3 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005894/1.161, allocations: 2.514 MB / 1.343 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.161, allocations: 1.344 kB / 1.343 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/1.161, allocations: 86.03 kB / 1.344 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007575/1.162, allocations: 215.7 kB / 1.344 GB, free: 1.043 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/1.162, allocations: 14.12 kB / 1.344 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/1.163, allocations: 0.7802 MB / 1.345 GB, free: 376 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.163, allocations: 6.594 kB / 1.345 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/1.167, allocations: 1.201 MB / 1.346 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008337/1.167, allocations: 358.2 kB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004525/1.168, allocations: 12.25 kB / 1.346 GB, free: 15.31 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.169, allocations: 73.84 kB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/1.169, allocations: 36.45 kB / 1.346 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/1.169, allocations: 29.05 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002176/1.171, allocations: 1.083 MB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.9e-07/1.171, allocations: 0 / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001917/1.173, allocations: 448.2 kB / 1.348 GB, free: 14.55 MB / 1.045 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.004969/1.178, allocations: 2.12 MB / 1.35 GB, free: 13.13 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002332/1.181, allocations: 0.8485 MB / 1.351 GB, free: 12.73 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.181, allocations: 1.375 kB / 1.351 GB, free: 12.73 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/1.182, allocations: 446.9 kB / 1.351 GB, free: 12.53 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/1.186, allocations: 0.7393 MB / 1.352 GB, free: 12.13 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/1.207, allocations: 10.44 MB / 1.362 GB, free: 5.781 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008854/1.208, allocations: 1.17 MB / 1.363 GB, free: 4.867 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001275/1.21, allocations: 275.3 kB / 1.363 GB, free: 4.727 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008588/1.21, allocations: 0.5419 MB / 1.364 GB, free: 4.277 MB / 1.045 GB Notification: Performance of SimCode: time 7.52e-07/1.21, allocations: 0 / 1.364 GB, free: 4.277 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0837/1.294, allocations: 44.49 MB / 1.407 GB, free: 12.27 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/15.01, allocations: 10.58 kB / 1.407 GB, free: 12.27 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches