Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01048/0.01048, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001802/0.001802, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.097, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2215/1.319, allocations: 174 MB / 1.258 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009875/1.329, allocations: 9.511 MB / 1.267 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/1.329, allocations: 11.94 kB / 1.267 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006563/1.33, allocations: 190.7 kB / 1.267 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002694/1.33, allocations: 95.3 kB / 1.267 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/1.33, allocations: 67.84 kB / 1.267 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00037/1.331, allocations: 322.7 kB / 1.268 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/1.331, allocations: 140.6 kB / 1.268 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/1.331, allocations: 167.4 kB / 1.268 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/1.331, allocations: 103.4 kB / 1.268 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/1.331, allocations: 16 kB / 1.268 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.762e-05/1.331, allocations: 16 kB / 1.268 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/1.331, allocations: 35.86 kB / 1.268 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/1.332, allocations: 99.53 kB / 1.268 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/1.332, allocations: 216.9 kB / 1.269 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.332, allocations: 0 / 1.269 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/1.332, allocations: 0 / 1.269 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.332, allocations: 4 kB / 1.269 GB, free: 4.648 MB / 0.9981 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.0005206/1.332, allocations: 479 kB / 1.269 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.332, allocations: 8.031 kB / 1.269 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/1.333, allocations: 27.66 kB / 1.269 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/1.333, allocations: 259.7 kB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/1.333, allocations: 16.44 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/1.333, allocations: 16 kB / 1.269 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/1.333, allocations: 239.8 kB / 1.27 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.333, allocations: 4 kB / 1.27 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/1.333, allocations: 11.94 kB / 1.27 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/1.333, allocations: 8 kB / 1.27 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/1.333, allocations: 83.84 kB / 1.27 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/1.335, allocations: 1.429 MB / 1.271 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/1.335, allocations: 177.1 kB / 1.271 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/1.335, allocations: 84.17 kB / 1.271 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/1.335, allocations: 75.28 kB / 1.271 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/1.335, allocations: 106 kB / 1.271 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/1.335, allocations: 3.938 kB / 1.271 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001252/1.335, allocations: 49.5 kB / 1.272 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.335, allocations: 130.7 kB / 1.272 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/1.336, allocations: 287 kB / 1.272 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/1.336, allocations: 25.7 kB / 1.272 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/1.336, allocations: 147.9 kB / 1.272 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/1.336, allocations: 3.938 kB / 1.272 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/1.336, allocations: 25.61 kB / 1.272 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003164/1.336, allocations: 330.8 kB / 1.272 GB, free: 392 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/1.336, allocations: 11.92 kB / 1.272 GB, free: 380 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/1.336, allocations: 27.44 kB / 1.272 GB, free: 340 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/1.336, allocations: 35.38 kB / 1.272 GB, free: 292 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.336, allocations: 4 kB / 1.273 GB, free: 288 kB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001319/1.336, allocations: 69.44 kB / 1.273 GB, free: 212 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.336, allocations: 8 kB / 1.273 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.336, allocations: 0 / 1.273 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.336, allocations: 0 / 1.273 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/1.337, allocations: 8 kB / 1.273 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.337, allocations: 0 / 1.273 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/1.337, allocations: 23.62 kB / 1.273 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/1.337, allocations: 4 kB / 1.273 GB, free: 168 kB / 0.9981 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.0001472/1.337, allocations: 209.2 kB / 1.273 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/1.337, allocations: 120.7 kB / 1.273 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/1.337, allocations: 129.9 kB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.979e-05/1.337, allocations: 176.3 kB / 1.273 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.216e-05/1.337, allocations: 180.3 kB / 1.273 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.62e-05/1.337, allocations: 184.2 kB / 1.274 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/1.337, allocations: 473.1 kB / 1.274 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.024e-05/1.338, allocations: 104.9 kB / 1.274 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/1.338, allocations: 105 kB / 1.274 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-05/1.338, allocations: 176.3 kB / 1.274 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/1.338, allocations: 184.2 kB / 1.275 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.175e-05/1.338, allocations: 184.2 kB / 1.275 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.562e-05/1.338, allocations: 188.2 kB / 1.275 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/1.338, allocations: 323.5 kB / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/1.338, allocations: 201.8 kB / 1.275 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/1.338, allocations: 184.2 kB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/1.338, allocations: 108.9 kB / 1.276 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/1.338, allocations: 180.2 kB / 1.276 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/1.339, allocations: 105.3 kB / 1.276 GB, free: 12.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002121/1.339, allocations: 206 kB / 1.276 GB, free: 12.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.339, allocations: 3.938 kB / 1.276 GB, free: 12.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002613/1.339, allocations: 20 kB / 1.276 GB, free: 12.28 MB / 1.014 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.0001468/1.339, allocations: 182.6 kB / 1.276 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.656e-05/1.339, allocations: 11.98 kB / 1.276 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.339, allocations: 0 / 1.276 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-06/1.339, allocations: 7.938 kB / 1.276 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007597/1.34, allocations: 0.528 MB / 1.277 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/1.341, allocations: 373.3 kB / 1.277 GB, free: 11.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/1.341, allocations: 0.7245 MB / 1.278 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.463e-05/1.341, allocations: 17.95 kB / 1.278 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/1.341, allocations: 15.44 kB / 1.278 GB, free: 10.36 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.341, allocations: 0 / 1.278 GB, free: 10.36 MB / 1.014 GB Notification: Performance of Templates: time 0.005603/1.347, allocations: 2.429 MB / 1.28 GB, free: 7.969 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches