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.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: 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.001196/0.001196, 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.001278/0.001279, allocations: 192.7 kB / 16.13 MB, free: 6.691 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.704/2.704, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.91 kB / 0.8685 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7071, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1969/0.9041, allocations: 171.8 MB / 1.184 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.9152, allocations: 9.508 MB / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.9159, allocations: 7.938 kB / 1.194 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009786/0.9169, allocations: 155.1 kB / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005511/0.9175, allocations: 79.5 kB / 1.194 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.9178, allocations: 55.89 kB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.9184, allocations: 378.6 kB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.9188, allocations: 145.6 kB / 1.194 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.9194, allocations: 143.4 kB / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.9197, allocations: 111.4 kB / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.9197, allocations: 12 kB / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.67e-05/0.9198, allocations: 16 kB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.9198, allocations: 27.86 kB / 1.195 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.92, allocations: 103.5 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.9202, allocations: 191.3 kB / 1.195 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.9202, allocations: 4 kB / 1.195 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9203, allocations: 0 / 1.195 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.9203, allocations: 0 / 1.195 GB, free: 11.39 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.0006974/0.921, allocations: 475 kB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.921, allocations: 8.031 kB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.9211, allocations: 27.66 kB / 1.196 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.9215, allocations: 251.4 kB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.9216, allocations: 16.44 kB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.9216, allocations: 20 kB / 1.196 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.922, allocations: 235.8 kB / 1.196 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.9221, allocations: 0 / 1.196 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.9221, allocations: 11.94 kB / 1.196 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.9221, allocations: 7.984 kB / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.9223, allocations: 91.78 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.9236, allocations: 1.433 MB / 1.198 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.9237, allocations: 177.1 kB / 1.198 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.9238, allocations: 80.14 kB / 1.198 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.9238, allocations: 75.28 kB / 1.198 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.9238, allocations: 113.8 kB / 1.198 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.9238, allocations: 0 / 1.198 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001258/0.924, allocations: 49.42 kB / 1.198 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.9241, allocations: 130.7 kB / 1.198 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.9244, allocations: 287 kB / 1.198 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.9244, allocations: 25.7 kB / 1.198 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.9246, allocations: 151.8 kB / 1.199 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-06/0.9246, allocations: 0 / 1.199 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.9246, allocations: 25.7 kB / 1.199 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.9248, allocations: 330.8 kB / 1.199 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.9248, allocations: 4 kB / 1.199 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.9249, allocations: 31.42 kB / 1.199 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.9249, allocations: 39.38 kB / 1.199 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9249, allocations: 4 kB / 1.199 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001627/0.9251, allocations: 73.34 kB / 1.199 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.9251, allocations: 7.938 kB / 1.199 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.9251, allocations: 0 / 1.199 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9252, allocations: 4 kB / 1.199 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.9252, allocations: 4.125 kB / 1.199 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.9253, allocations: 11.94 kB / 1.199 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.615e-05/0.9253, allocations: 19.69 kB / 1.199 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.9254, allocations: 4 kB / 1.199 GB, free: 6.906 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.0001419/0.9255, allocations: 201.6 kB / 1.199 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.9256, allocations: 124.7 kB / 1.199 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.732e-05/0.9257, allocations: 125.9 kB / 1.2 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.679e-05/0.9258, allocations: 184.3 kB / 1.2 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.334e-05/0.9258, allocations: 176.4 kB / 1.2 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.012e-05/0.9259, allocations: 188.1 kB / 1.2 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.9262, allocations: 469.1 kB / 1.201 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.417e-05/0.9263, allocations: 108.9 kB / 1.201 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.9263, allocations: 101 kB / 1.201 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-05/0.9264, allocations: 184.3 kB / 1.201 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/0.9265, allocations: 180.2 kB / 1.201 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.736e-05/0.9265, allocations: 184.3 kB / 1.201 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.454e-05/0.9266, allocations: 180.2 kB / 1.201 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.9268, allocations: 323.6 kB / 1.202 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.9269, allocations: 209.7 kB / 1.202 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.9271, allocations: 176.3 kB / 1.202 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.9272, allocations: 104.9 kB / 1.202 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.9273, allocations: 184.2 kB / 1.202 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.9273, allocations: 101 kB / 1.202 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002094/0.9275, allocations: 213.9 kB / 1.203 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9275, allocations: 0 / 1.203 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002754/0.9278, allocations: 24 kB / 1.203 GB, free: 3.02 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.0001603/0.928, allocations: 174.6 kB / 1.203 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.245e-05/0.9281, allocations: 15.98 kB / 1.203 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9281, allocations: 0 / 1.203 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.9281, allocations: 4.188 kB / 1.203 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008792/0.929, allocations: 0.6061 MB / 1.203 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.9295, allocations: 402.6 kB / 1.204 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.9298, allocations: 0.7248 MB / 1.205 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.134e-05/0.9299, allocations: 21.95 kB / 1.205 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.93, allocations: 19.44 kB / 1.205 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.93, allocations: 0 / 1.205 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of Templates: time 0.00567/0.9357, allocations: 2.302 MB / 1.207 GB, free: 14.73 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/jenkins/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