Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.1-maint.10.0.x/package.mo", uses=false) 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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.006138/0.006137, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001349/0.001349, allocations: 186.5 kB / 16.67 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437 MB / 0.7105 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3177, allocations: 151.6 MB / 1.166 GB, free: 7.43 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.7718/1.09, allocations: 132.3 MB / 1.295 GB, free: 17.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02983/1.119, allocations: 23.22 MB / 1.318 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006905/1.126, allocations: 124.9 kB / 1.318 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005093/1.131, allocations: 1.535 MB / 1.32 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/1.145, allocations: 4.329 MB / 1.324 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006724/1.152, allocations: 2.183 MB / 1.326 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01215/1.164, allocations: 6.547 MB / 1.332 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004088/1.168, allocations: 2.35 MB / 1.335 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007217/1.175, allocations: 2.826 MB / 1.337 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004426/1.18, allocations: 1.887 MB / 1.339 GB, free: 8.391 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008708/1.18, allocations: 251.8 kB / 1.34 GB, free: 8.387 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006561/1.187, allocations: 1.939 MB / 1.341 GB, free: 7.668 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001104/1.188, allocations: 0.5943 MB / 1.342 GB, free: 7.273 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003717/1.192, allocations: 1.464 MB / 1.343 GB, free: 6.355 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/1.203, allocations: 4.353 MB / 1.348 GB, free: 4.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.203, allocations: 1.469 kB / 1.348 GB, free: 4.668 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/1.203, allocations: 0 / 1.348 GB, free: 4.668 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001068/1.203, allocations: 2.859 kB / 1.348 GB, free: 4.668 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007628/1.21, allocations: 3.182 MB / 1.351 GB, free: 2.621 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.21, allocations: 9.188 kB / 1.351 GB, free: 2.621 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002954/1.211, allocations: 223.7 kB / 1.351 GB, free: 2.477 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004724/1.216, allocations: 0.8437 MB / 1.352 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005347/1.221, allocations: 2.315 MB / 1.354 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.221, allocations: 125.6 kB / 1.354 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/1.221, allocations: 160.4 kB / 1.354 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/1.225, allocations: 1.923 MB / 1.356 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/1.226, allocations: 9 kB / 1.356 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/1.226, allocations: 62.88 kB / 1.356 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/1.226, allocations: 36.72 kB / 1.356 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004708/1.23, allocations: 1.8 MB / 1.358 GB, free: 14.16 MB / 1.029 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.01343/1.244, allocations: 8.998 MB / 1.367 GB, free: 6.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004099/1.248, allocations: 1.201 MB / 1.368 GB, free: 5.723 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/1.249, allocations: 460.4 kB / 1.368 GB, free: 5.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.25, allocations: 1.72 MB / 1.37 GB, free: 3.473 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/1.25, allocations: 42.97 kB / 1.37 GB, free: 3.426 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 4.237e-06/1.25, allocations: 0 / 1.37 GB, free: 3.426 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.008859/1.259, allocations: 2.343 MB / 1.372 GB, free: 2.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/1.259, allocations: 89.64 kB / 1.373 GB, free: 2.055 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005726/1.265, allocations: 2.526 MB / 1.375 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002522/1.265, allocations: 48.27 kB / 1.375 GB, free: 0.668 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/1.267, allocations: 1.036 MB / 1.376 GB, free: 15.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000378/1.267, allocations: 276.1 kB / 1.376 GB, free: 15.51 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006001/1.268, allocations: 259.2 kB / 1.377 GB, free: 15.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.268, allocations: 343.6 kB / 1.377 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/1.269, allocations: 0.5725 MB / 1.378 GB, free: 14.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/1.272, allocations: 0.9507 MB / 1.378 GB, free: 14.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/1.275, allocations: 1.244 MB / 1.38 GB, free: 13.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/1.275, allocations: 2.906 kB / 1.38 GB, free: 13.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007505/1.283, allocations: 2.028 MB / 1.382 GB, free: 12.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.283, allocations: 10.09 kB / 1.382 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.283, allocations: 11.34 kB / 1.382 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/1.285, allocations: 488.4 kB / 1.382 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.286, allocations: 291.5 kB / 1.382 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/1.288, allocations: 1.514 MB / 1.384 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/1.292, allocations: 366 kB / 1.384 GB, free: 9.648 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/1.292, allocations: 63.95 kB / 1.384 GB, free: 9.586 MB / 1.045 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001178/1.293, allocations: 461.8 kB / 1.385 GB, free: 9.125 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008614/1.294, allocations: 241 kB / 1.385 GB, free: 8.887 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/1.298, allocations: 1.498 MB / 1.386 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/1.298, allocations: 19.98 kB / 1.386 GB, free: 7.355 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.298, allocations: 0 / 1.386 GB, free: 7.355 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.298, allocations: 3.984 kB / 1.386 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008775/1.307, allocations: 3.63 MB / 1.39 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.307, allocations: 4 kB / 1.39 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/1.308, allocations: 123.8 kB / 1.39 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/1.309, allocations: 0.4892 MB / 1.391 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/1.309, allocations: 31.98 kB / 1.391 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/1.312, allocations: 1.582 MB / 1.392 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.312, allocations: 7.938 kB / 1.392 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/1.318, allocations: 1.931 MB / 1.394 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.319, allocations: 497.5 kB / 1.395 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007625/1.32, allocations: 23.94 kB / 1.395 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.322, allocations: 135.8 kB / 1.395 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.322, allocations: 63.72 kB / 1.395 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.323, allocations: 39.97 kB / 1.395 GB, free: 14.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003692/1.326, allocations: 1.777 MB / 1.397 GB, free: 12.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.52e-07/1.326, allocations: 0 / 1.397 GB, free: 12.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003367/1.33, allocations: 0.6904 MB / 1.397 GB, free: 12.08 MB / 1.061 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008519/1.338, allocations: 2.998 MB / 1.4 GB, free: 9.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004303/1.343, allocations: 1.35 MB / 1.401 GB, free: 7.668 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.343, allocations: 3.938 kB / 1.401 GB, free: 7.664 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002374/1.345, allocations: 0.6717 MB / 1.402 GB, free: 6.996 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006563/1.351, allocations: 1.331 MB / 1.403 GB, free: 5.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03738/1.389, allocations: 16.67 MB / 1.42 GB, free: 4.547 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/1.39, allocations: 1.489 MB / 1.421 GB, free: 3.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002068/1.392, allocations: 436.2 kB / 1.422 GB, free: 2.594 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.394, allocations: 0.8976 MB / 1.422 GB, free: 1.695 MB / 1.076 GB Notification: Performance of SimCode: time 6.62e-07/1.394, allocations: 4 kB / 1.422 GB, free: 1.691 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/1.506, allocations: 66.22 MB / 1.487 GB, free: 304 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/18.09, allocations: 18.97 kB / 1.487 GB, free: 288 kB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches