Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: 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_latest_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_latest_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.001527/0.001527, allocations: 104.5 kB / 16.27 MB, free: 5.977 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.001537/0.001537, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.708/2.708, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 62.94 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7016/0.7035, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2045/0.9081, allocations: 174 MB / 1.253 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.9182, allocations: 9.506 MB / 1.262 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.9186, allocations: 11.88 kB / 1.262 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005776/0.9192, allocations: 198.7 kB / 1.262 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.9195, allocations: 91.3 kB / 1.262 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.9196, allocations: 63.92 kB / 1.262 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.92, allocations: 318.7 kB / 1.263 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.9203, allocations: 152.5 kB / 1.263 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.9206, allocations: 155.5 kB / 1.263 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.9207, allocations: 99.44 kB / 1.263 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.9208, allocations: 16 kB / 1.263 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.145e-05/0.9208, allocations: 19.94 kB / 1.263 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.9209, allocations: 39.91 kB / 1.263 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.921, allocations: 95.48 kB / 1.263 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.9212, allocations: 203.3 kB / 1.264 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.9212, allocations: 0 / 1.264 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9212, allocations: 8 kB / 1.264 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.9212, allocations: 0 / 1.264 GB, free: 5.418 MB / 0.9825 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.0004919/0.9217, allocations: 475 kB / 1.264 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.9218, allocations: 8.031 kB / 1.264 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.9218, allocations: 27.66 kB / 1.264 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.9221, allocations: 247.7 kB / 1.264 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.9221, allocations: 12.44 kB / 1.264 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.9221, allocations: 23.94 kB / 1.264 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.9225, allocations: 235.8 kB / 1.265 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9225, allocations: 3.938 kB / 1.265 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.9225, allocations: 11.94 kB / 1.265 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.9225, allocations: 4 kB / 1.265 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.9227, allocations: 91.84 kB / 1.265 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.9238, allocations: 1.429 MB / 1.266 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.924, allocations: 177.1 kB / 1.266 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.924, allocations: 84.14 kB / 1.266 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.9241, allocations: 75.28 kB / 1.266 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.9241, allocations: 113.8 kB / 1.266 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.9241, allocations: 0 / 1.266 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.648e-05/0.9242, allocations: 41.55 kB / 1.266 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.9243, allocations: 138.6 kB / 1.267 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.9246, allocations: 294.9 kB / 1.267 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.9246, allocations: 25.7 kB / 1.267 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.9247, allocations: 147.9 kB / 1.267 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.9248, allocations: 0 / 1.267 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.9248, allocations: 21.66 kB / 1.267 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.925, allocations: 330.8 kB / 1.267 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.925, allocations: 7.984 kB / 1.267 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.925, allocations: 31.44 kB / 1.267 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.9251, allocations: 31.38 kB / 1.267 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9251, allocations: 0 / 1.267 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/0.9252, allocations: 81.34 kB / 1.268 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.9252, allocations: 4 kB / 1.268 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9252, allocations: 0 / 1.268 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.9252, allocations: 4 kB / 1.268 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.9253, allocations: 4.094 kB / 1.268 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9253, allocations: 12.03 kB / 1.268 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.9254, allocations: 23.62 kB / 1.268 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.9254, allocations: 7.984 kB / 1.268 GB, free: 0.9375 MB / 0.9825 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.0001226/0.9255, allocations: 201.2 kB / 1.268 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.9256, allocations: 120.8 kB / 1.268 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.237e-05/0.9257, allocations: 125.9 kB / 1.268 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.516e-05/0.9258, allocations: 176.3 kB / 1.268 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-05/0.9259, allocations: 180.3 kB / 1.268 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.369e-05/0.926, allocations: 184.2 kB / 1.269 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.9263, allocations: 473.1 kB / 1.269 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.431e-05/0.9263, allocations: 104.9 kB / 1.269 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.9264, allocations: 105 kB / 1.269 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.655e-05/0.9265, allocations: 180.3 kB / 1.269 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.9266, allocations: 184.2 kB / 1.27 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.747e-05/0.9267, allocations: 180.3 kB / 1.27 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.052e-05/0.9267, allocations: 180.2 kB / 1.27 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.9269, allocations: 331.4 kB / 1.27 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.927, allocations: 205.8 kB / 1.27 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.9271, allocations: 176.3 kB / 1.271 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.9273, allocations: 112.9 kB / 1.271 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.9274, allocations: 180.3 kB / 1.271 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.9274, allocations: 104.9 kB / 1.271 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002068/0.9276, allocations: 206 kB / 1.271 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9276, allocations: 0 / 1.271 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002609/0.9279, allocations: 24 kB / 1.271 GB, free: 13.06 MB / 0.9981 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.0001528/0.9281, allocations: 183 kB / 1.271 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.982e-05/0.9281, allocations: 8 kB / 1.271 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9282, allocations: 0 / 1.271 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.9282, allocations: 8.281 kB / 1.271 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/0.929, allocations: 0.5318 MB / 1.272 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.9295, allocations: 394.6 kB / 1.272 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.9299, allocations: 0.7167 MB / 1.273 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.9299, allocations: 23.44 kB / 1.273 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.9299, allocations: 0 / 1.273 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of Templates: time 0.004252/0.9342, allocations: 2.382 MB / 1.275 GB, free: 8.766 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches