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.005277/0.005277, 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.00124/0.00124, 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.296/1.296, 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.573/2.573, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 68.11 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3168, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.7646/1.081, allocations: 70.5 MB / 1.276 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02388/1.105, allocations: 18.93 MB / 1.295 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003775/1.109, allocations: 67.22 kB / 1.295 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/1.114, allocations: 0.8203 MB / 1.295 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/1.125, allocations: 2.852 MB / 1.298 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006059/1.132, allocations: 1.666 MB / 1.3 GB, free: 11.06 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008093/1.14, allocations: 4.04 MB / 1.304 GB, free: 9 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003356/1.143, allocations: 1.454 MB / 1.305 GB, free: 8.289 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005454/1.148, allocations: 1.805 MB / 1.307 GB, free: 7.352 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/1.152, allocations: 1.182 MB / 1.308 GB, free: 6.789 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007174/1.152, allocations: 175.2 kB / 1.308 GB, free: 6.789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005275/1.158, allocations: 1.411 MB / 1.31 GB, free: 6.285 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001238/1.159, allocations: 391.1 kB / 1.31 GB, free: 6.016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003418/1.162, allocations: 0.9101 MB / 1.311 GB, free: 5.426 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008955/1.171, allocations: 3.104 MB / 1.314 GB, free: 4.262 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.171, allocations: 1.531 kB / 1.314 GB, free: 4.262 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.907e-06/1.171, allocations: 0.6094 kB / 1.314 GB, free: 4.262 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000102/1.171, allocations: 3.938 kB / 1.314 GB, free: 4.258 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.006539/1.178, allocations: 2.026 MB / 1.316 GB, free: 2.891 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.178, allocations: 9.938 kB / 1.316 GB, free: 2.891 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004342/1.179, allocations: 154.1 kB / 1.316 GB, free: 2.789 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/1.181, allocations: 451.6 kB / 1.317 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/1.185, allocations: 1.546 MB / 1.318 GB, free: 1.727 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/1.185, allocations: 82.75 kB / 1.318 GB, free: 1.688 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/1.186, allocations: 101.9 kB / 1.318 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/1.189, allocations: 1.316 MB / 1.32 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/1.189, allocations: 7.031 kB / 1.32 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/1.189, allocations: 41.81 kB / 1.32 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/1.189, allocations: 26.84 kB / 1.32 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/1.192, allocations: 1.096 MB / 1.321 GB, free: 0.5234 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.01225/1.205, allocations: 7.505 MB / 1.328 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/1.208, allocations: 0.8089 MB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/1.209, allocations: 282 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/1.21, allocations: 1.723 MB / 1.331 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/1.21, allocations: 39.34 kB / 1.331 GB, free: 8.156 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 2.474e-06/1.211, allocations: 0 / 1.331 GB, free: 8.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.005429/1.216, allocations: 1.334 MB / 1.332 GB, free: 7.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.216, allocations: 57.22 kB / 1.332 GB, free: 7.598 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003652/1.22, allocations: 1.548 MB / 1.334 GB, free: 6.969 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/1.22, allocations: 41.92 kB / 1.334 GB, free: 6.926 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007059/1.22, allocations: 0.6794 MB / 1.334 GB, free: 6.383 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/1.221, allocations: 178.7 kB / 1.335 GB, free: 6.242 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/1.221, allocations: 169.5 kB / 1.335 GB, free: 6.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.221, allocations: 334.3 kB / 1.335 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.222, allocations: 363.4 kB / 1.335 GB, free: 5.723 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/1.224, allocations: 0.6551 MB / 1.336 GB, free: 5.234 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/1.226, allocations: 0.8886 MB / 1.337 GB, free: 4.652 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/1.226, allocations: 7.031 kB / 1.337 GB, free: 4.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003382/1.229, allocations: 1.192 MB / 1.338 GB, free: 4.168 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.229, allocations: 9.625 kB / 1.338 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/1.229, allocations: 7.875 kB / 1.338 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009511/1.23, allocations: 222.6 kB / 1.338 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/1.231, allocations: 196.5 kB / 1.338 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000928/1.232, allocations: 0.7141 MB / 1.339 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/1.234, allocations: 218 kB / 1.339 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/1.234, allocations: 45.56 kB / 1.339 GB, free: 3.398 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.0007997/1.235, allocations: 351.6 kB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/1.235, allocations: 149.8 kB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.238, allocations: 1.136 MB / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/1.238, allocations: 16.44 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.238, allocations: 1.828 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.238, allocations: 3.5 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006355/1.244, allocations: 2.511 MB / 1.343 GB, free: 1.031 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/1.244, allocations: 1.062 kB / 1.343 GB, free: 1.031 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/1.245, allocations: 85.66 kB / 1.344 GB, free: 1.008 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007765/1.246, allocations: 211.7 kB / 1.344 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/1.246, allocations: 17.67 kB / 1.344 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/1.247, allocations: 0.778 MB / 1.345 GB, free: 224 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.247, allocations: 5.25 kB / 1.345 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/1.251, allocations: 1.201 MB / 1.346 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008823/1.251, allocations: 366.1 kB / 1.346 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/1.252, allocations: 12.38 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.253, allocations: 70.23 kB / 1.346 GB, free: 15.13 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.253, allocations: 44 kB / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/1.253, allocations: 24.73 kB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002284/1.256, allocations: 1.087 MB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.21e-07/1.256, allocations: 0 / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001949/1.258, allocations: 444.6 kB / 1.348 GB, free: 14.41 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.005118/1.263, allocations: 2.118 MB / 1.35 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002391/1.265, allocations: 0.8485 MB / 1.351 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.265, allocations: 0 / 1.351 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.266, allocations: 447 kB / 1.351 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/1.271, allocations: 0.7366 MB / 1.352 GB, free: 12 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/1.292, allocations: 10.44 MB / 1.362 GB, free: 5.648 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/1.293, allocations: 1.172 MB / 1.363 GB, free: 4.73 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001229/1.294, allocations: 274.5 kB / 1.363 GB, free: 4.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008244/1.295, allocations: 0.5472 MB / 1.364 GB, free: 4.137 MB / 1.045 GB Notification: Performance of SimCode: time 9.71e-07/1.295, allocations: 0 / 1.364 GB, free: 4.137 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08182/1.377, allocations: 44.49 MB / 1.407 GB, free: 12.14 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/15.17, allocations: 10.16 kB / 1.407 GB, free: 12.14 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