Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.008319/0.00832, allocations: 103.1 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.001795/0.001794, allocations: 193.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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.552/2.552, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 1.054 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8369, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002845/0.8397, allocations: 1.614 MB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.8412, allocations: 0.9036 MB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.8414, allocations: 3.938 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.8414, allocations: 3.938 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.8417, allocations: 27.78 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.8421, allocations: 139.6 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.8422, allocations: 71.72 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.8423, allocations: 19.92 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.8424, allocations: 39.91 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.8426, allocations: 31.84 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.8426, allocations: 4 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.843, allocations: 287.6 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.843, allocations: 7.938 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.8431, allocations: 27.86 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.8433, allocations: 157.8 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8433, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8433, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8434, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005696/0.8439, allocations: 411.1 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.844, allocations: 12.03 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.844, allocations: 34.69 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.8441, allocations: 16.83 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.8444, allocations: 184.2 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.8444, allocations: 384 / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.8444, allocations: 12.38 kB / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.8446, allocations: 65.78 kB / 1.211 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.8446, allocations: 3.938 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.8446, allocations: 0 / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8446, allocations: 0 / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.8448, allocations: 43.91 kB / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.8452, allocations: 308.7 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.8454, allocations: 50.56 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.8454, allocations: 28.97 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.8455, allocations: 0 / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.8455, allocations: 34.56 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.8455, allocations: 4 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0003346/0.8458, allocations: 109.5 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.8459, allocations: 55.41 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.846, allocations: 131.8 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.846, allocations: 33.64 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.8461, allocations: 96.12 kB / 1.212 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.8461, allocations: 7.812 kB / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.8461, allocations: 21.72 kB / 1.212 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.8462, allocations: 326.8 kB / 1.212 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.8463, allocations: 19.98 kB / 1.212 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.8464, allocations: 23.98 kB / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.8465, allocations: 56.77 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8465, allocations: 0 / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001984/0.8467, allocations: 93.56 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.8467, allocations: 8 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8468, allocations: 0 / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.8468, allocations: 3.984 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.8469, allocations: 11.98 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8469, allocations: 4 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.847, allocations: 3.906 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.847, allocations: 11.98 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.575e-05/0.8471, allocations: 117.8 kB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.8471, allocations: 11.94 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.8473, allocations: 94.34 kB / 1.213 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8474, allocations: 3.984 kB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.8474, allocations: 0 / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8474, allocations: 64 / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.8475, allocations: 193.5 kB / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8476, allocations: 0 / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.343e-05/0.8476, allocations: 19.98 kB / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8477, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.8477, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8477, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8477, allocations: 3.938 kB / 1.213 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.8479, allocations: 191.3 kB / 1.213 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.848, allocations: 89.02 kB / 1.213 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.848, allocations: 0 / 1.213 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.8481, allocations: 11.98 kB / 1.213 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.8481, allocations: 4 kB / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.8481, allocations: 0 / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.8482, allocations: 104.9 kB / 1.213 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8482, allocations: 0 / 1.213 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002332/0.8484, allocations: 27.98 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005557/0.849, allocations: 0.7318 MB / 1.214 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.8492, allocations: 59.95 kB / 1.214 GB, free: 6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8492, allocations: 0 / 1.214 GB, free: 6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/0.8493, allocations: 35.92 kB / 1.214 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.8496, allocations: 12 kB / 1.214 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.8511, allocations: 1.454 MB / 1.216 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.8513, allocations: 0.6885 MB / 1.216 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.8513, allocations: 7.984 kB / 1.216 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.8514, allocations: 23.44 kB / 1.216 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of SimCode: time 1.733e-06/0.8514, allocations: 0 / 1.216 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.8699, allocations: 2.358 MB / 1.219 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/8.211, allocations: 3.156 kB / 1.219 GB, free: 1.465 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches