Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.496/1.496, allocations: 223.3 MB / 241 MB, free: 5.277 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.673/2.673, allocations: 437.8 MB / 0.7128 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004322, allocations: 8 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.7435, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1911/0.9346, allocations: 169.6 MB / 1.189 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.9447, allocations: 9.368 MB / 1.198 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.9451, allocations: 11.94 kB / 1.198 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.9458, allocations: 159 kB / 1.199 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.9462, allocations: 79.5 kB / 1.199 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.9464, allocations: 51.95 kB / 1.199 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.9469, allocations: 374.6 kB / 1.199 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.9472, allocations: 141.6 kB / 1.199 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003846/0.9476, allocations: 135.4 kB / 1.199 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.9478, allocations: 79.52 kB / 1.199 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.9478, allocations: 4 kB / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.837e-05/0.9478, allocations: 4 kB / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.9479, allocations: 15.88 kB / 1.199 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.948, allocations: 109.2 kB / 1.2 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.9482, allocations: 151.5 kB / 1.2 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9482, allocations: 0 / 1.2 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9482, allocations: 0 / 1.2 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.9482, allocations: 0 / 1.2 GB, free: 10.95 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004472/0.9486, allocations: 435.1 kB / 1.2 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.9487, allocations: 12.03 kB / 1.2 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.9488, allocations: 23.66 kB / 1.2 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.949, allocations: 251.5 kB / 1.2 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.9491, allocations: 16.42 kB / 1.2 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.9491, allocations: 20 kB / 1.2 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.9494, allocations: 227.8 kB / 1.201 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.9495, allocations: 3.938 kB / 1.201 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.9495, allocations: 11.94 kB / 1.201 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.9495, allocations: 7.938 kB / 1.201 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.9497, allocations: 95.77 kB / 1.201 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.9508, allocations: 1.433 MB / 1.202 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.852e-05/0.9509, allocations: 173.1 kB / 1.202 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.9509, allocations: 88.17 kB / 1.202 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.951, allocations: 79.28 kB / 1.202 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.951, allocations: 109.8 kB / 1.203 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.951, allocations: 0 / 1.203 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.178e-05/0.9511, allocations: 49.42 kB / 1.203 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.9512, allocations: 126.7 kB / 1.203 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.9515, allocations: 298.9 kB / 1.203 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.9515, allocations: 25.7 kB / 1.203 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.9516, allocations: 139.9 kB / 1.203 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.9517, allocations: 4 kB / 1.203 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.9517, allocations: 9.719 kB / 1.203 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9518, allocations: 334.8 kB / 1.204 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.9518, allocations: 4 kB / 1.204 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.9519, allocations: 27.44 kB / 1.204 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.952, allocations: 39.36 kB / 1.204 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.952, allocations: 0 / 1.204 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001377/0.9521, allocations: 73.3 kB / 1.204 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9521, allocations: 18.77 kB / 1.204 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.9521, allocations: 0 / 1.204 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.9522, allocations: 0 / 1.204 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.9522, allocations: 8 kB / 1.204 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.9522, allocations: 3.984 kB / 1.204 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.9523, allocations: 27.69 kB / 1.204 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.9523, allocations: 112 / 1.204 GB, free: 6.516 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001727/0.9525, allocations: 205.5 kB / 1.204 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.9526, allocations: 136.6 kB / 1.204 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.9527, allocations: 117.9 kB / 1.204 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.443e-05/0.9528, allocations: 188.3 kB / 1.204 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.881e-05/0.9528, allocations: 180.2 kB / 1.204 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.576e-05/0.9529, allocations: 176.3 kB / 1.205 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.9532, allocations: 477 kB / 1.205 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.33e-05/0.9533, allocations: 105 kB / 1.205 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.522e-05/0.9533, allocations: 108.9 kB / 1.205 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.795e-05/0.9534, allocations: 176.3 kB / 1.205 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.737e-05/0.9535, allocations: 176.3 kB / 1.206 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-05/0.9535, allocations: 184.2 kB / 1.206 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.511e-05/0.9536, allocations: 188.3 kB / 1.206 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.9538, allocations: 323.5 kB / 1.206 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.9539, allocations: 201.8 kB / 1.207 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.954, allocations: 184.2 kB / 1.207 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.9541, allocations: 101 kB / 1.207 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.9542, allocations: 188.2 kB / 1.207 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.9542, allocations: 101 kB / 1.207 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001958/0.9544, allocations: 209.9 kB / 1.207 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9544, allocations: 0 / 1.207 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002506/0.9547, allocations: 24 kB / 1.207 GB, free: 2.621 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.0001273/0.9548, allocations: 174.5 kB / 1.207 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.757e-05/0.9549, allocations: 19.94 kB / 1.207 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9549, allocations: 3.938 kB / 1.207 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.9549, allocations: 0 / 1.207 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/0.9558, allocations: 0.5956 MB / 1.208 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.9564, allocations: 446 kB / 1.208 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.9567, allocations: 0.7209 MB / 1.209 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.9568, allocations: 15.44 kB / 1.209 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.9568, allocations: 0 / 1.209 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of Templates: time 0.004774/0.9615, allocations: 2.332 MB / 1.211 GB, free: 14.27 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches