Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00159/0.00159, allocations: 195.7 kB / 16.14 MB, free: 6.648 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.343/2.343, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.89 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5064, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1509/0.6574, allocations: 171.9 MB / 1.185 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008484/0.6659, allocations: 9.504 MB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.6662, allocations: 11.94 kB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.6667, allocations: 155 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.6669, allocations: 83.48 kB / 1.194 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.6671, allocations: 55.91 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.6675, allocations: 386.5 kB / 1.195 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.6678, allocations: 197.7 kB / 1.195 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.6681, allocations: 155.4 kB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.6683, allocations: 119.4 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.6683, allocations: 20 kB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.6683, allocations: 20 kB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.6684, allocations: 67.75 kB / 1.195 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.6685, allocations: 123.3 kB / 1.195 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.6688, allocations: 267.1 kB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6688, allocations: 0 / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6688, allocations: 0 / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.6688, allocations: 0 / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004735/0.6693, allocations: 0.5107 MB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.6693, allocations: 8.031 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.6694, allocations: 66.53 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.6694, allocations: 39.64 kB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.6697, allocations: 270.2 kB / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.6697, allocations: 20.56 kB / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.6698, allocations: 27.94 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.6702, allocations: 331.9 kB / 1.197 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6702, allocations: 0 / 1.197 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.6702, allocations: 12 kB / 1.197 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.6702, allocations: 11.94 kB / 1.197 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.6705, allocations: 139.8 kB / 1.197 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.6716, allocations: 1.816 MB / 1.199 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.418e-05/0.6716, allocations: 169.1 kB / 1.199 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.6717, allocations: 88.02 kB / 1.199 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.6717, allocations: 79.28 kB / 1.199 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.6718, allocations: 105.8 kB / 1.199 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6718, allocations: 0 / 1.199 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.76e-05/0.6718, allocations: 61.42 kB / 1.199 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.6719, allocations: 130.7 kB / 1.199 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.6722, allocations: 373.7 kB / 1.2 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.6723, allocations: 25.7 kB / 1.2 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.6724, allocations: 163.8 kB / 1.2 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.6724, allocations: 0 / 1.2 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.6724, allocations: 17.72 kB / 1.2 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6725, allocations: 342.8 kB / 1.2 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.6726, allocations: 15.86 kB / 1.2 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.6726, allocations: 32.3 kB / 1.2 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/0.6727, allocations: 44.23 kB / 1.2 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6727, allocations: 128 / 1.2 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001366/0.6728, allocations: 93.22 kB / 1.2 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6728, allocations: 4.109 kB / 1.2 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.6728, allocations: 7.938 kB / 1.2 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6729, allocations: 3.984 kB / 1.2 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.6729, allocations: 8 kB / 1.2 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.6729, allocations: 8.141 kB / 1.2 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.673, allocations: 27.59 kB / 1.2 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.673, allocations: 8 kB / 1.2 GB, free: 5.746 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 0.0001174/0.6731, allocations: 209.6 kB / 1.201 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.6732, allocations: 140.5 kB / 1.201 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.6733, allocations: 123 kB / 1.201 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.081e-05/0.6733, allocations: 192.2 kB / 1.201 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.208e-05/0.6734, allocations: 180.3 kB / 1.201 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-05/0.6734, allocations: 176.3 kB / 1.201 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.6737, allocations: 493 kB / 1.202 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/0.6738, allocations: 105 kB / 1.202 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.6738, allocations: 104.9 kB / 1.202 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.954e-05/0.6738, allocations: 188.3 kB / 1.202 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.6739, allocations: 180.2 kB / 1.202 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.942e-05/0.674, allocations: 188.2 kB / 1.203 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.795e-05/0.674, allocations: 176.3 kB / 1.203 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.6741, allocations: 335.4 kB / 1.203 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.6742, allocations: 209.8 kB / 1.203 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.6743, allocations: 180.2 kB / 1.203 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.6744, allocations: 101 kB / 1.203 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.6745, allocations: 184.2 kB / 1.204 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.6745, allocations: 101 kB / 1.204 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002444/0.6748, allocations: 275.2 kB / 1.204 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6748, allocations: 0 / 1.204 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002654/0.675, allocations: 31.94 kB / 1.204 GB, free: 1.73 MB / 0.9512 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 (0): * Single equations (assignments): 0 * 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.0003447/0.6754, allocations: 0.8395 MB / 1.205 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.371e-05/0.6755, allocations: 19.92 kB / 1.205 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6755, allocations: 0 / 1.205 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.6755, allocations: 0 / 1.205 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.6763, allocations: 0.6149 MB / 1.205 GB, free: 224 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.6788, allocations: 2.755 MB / 1.208 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.6791, allocations: 0.756 MB / 1.209 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.6792, allocations: 38.95 kB / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.6793, allocations: 75.41 kB / 1.209 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.6793, allocations: 0 / 1.209 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8326/1.512, allocations: 5.582 MB / 1.214 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.512, allocations: 213.3 kB / 1.215 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/3.188, allocations: 0 / 1.215 GB, free: 6.805 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches