Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 92.16 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.00157/0.00157, allocations: 179.2 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.505/1.505, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.046/3.046, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005499/0.00055, allocations: 10.5 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4145, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1959/0.6104, allocations: 165.9 MB / 1.221 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007604/0.6181, allocations: 5.902 MB / 1.227 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.6185, allocations: 11.94 kB / 1.227 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.6193, allocations: 143.1 kB / 1.227 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.6198, allocations: 87.5 kB / 1.227 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.6214, allocations: 494.5 kB / 1.228 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009715/0.6223, allocations: 478.5 kB / 1.228 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004291/0.6228, allocations: 135.6 kB / 1.228 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.6233, allocations: 155.3 kB / 1.229 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.6236, allocations: 135.4 kB / 1.229 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.6237, allocations: 4 kB / 1.229 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.6248, allocations: 0.5182 MB / 1.229 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.625, allocations: 59.8 kB / 1.229 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.6251, allocations: 117.1 kB / 1.229 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.6256, allocations: 315.3 kB / 1.23 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6256, allocations: 0 / 1.23 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6256, allocations: 0 / 1.23 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.6256, allocations: 0 / 1.23 GB, free: 5.898 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005977/0.6262, allocations: 483 kB / 1.23 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6262, allocations: 11.97 kB / 1.23 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.6265, allocations: 51.7 kB / 1.23 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.6268, allocations: 250.6 kB / 1.23 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.627, allocations: 131.4 kB / 1.231 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.627, allocations: 20 kB / 1.231 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.6275, allocations: 294.8 kB / 1.231 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.6275, allocations: 7.938 kB / 1.231 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.6275, allocations: 8 kB / 1.231 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6276, allocations: 8 kB / 1.231 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.6279, allocations: 160.6 kB / 1.231 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.6292, allocations: 1.575 MB / 1.233 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.6293, allocations: 173.1 kB / 1.233 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.6294, allocations: 92.14 kB / 1.233 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.6294, allocations: 75.28 kB / 1.233 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.6294, allocations: 109.8 kB / 1.233 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.6295, allocations: 0 / 1.233 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.187e-05/0.6295, allocations: 49.44 kB / 1.233 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.6296, allocations: 126.7 kB / 1.233 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.63, allocations: 314.5 kB / 1.233 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.63, allocations: 29.7 kB / 1.233 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.6301, allocations: 195.1 kB / 1.234 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-06/0.6301, allocations: 7.984 kB / 1.234 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.6302, allocations: 17.72 kB / 1.234 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6303, allocations: 330.8 kB / 1.234 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.394e-05/0.6304, allocations: 39.92 kB / 1.234 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.6306, allocations: 158.5 kB / 1.234 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.6308, allocations: 200.8 kB / 1.234 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6308, allocations: 4 kB / 1.234 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003887/0.6312, allocations: 213.3 kB / 1.235 GB, free: 404 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6313, allocations: 7.938 kB / 1.235 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.6313, allocations: 8 kB / 1.235 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.6313, allocations: 4 kB / 1.235 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.6315, allocations: 35.92 kB / 1.235 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.6315, allocations: 15.92 kB / 1.235 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.6317, allocations: 35.62 kB / 1.235 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.6317, allocations: 8.375 kB / 1.235 GB, free: 288 kB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.00015/0.6318, allocations: 221 kB / 1.235 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.707e-05/0.6319, allocations: 128.6 kB / 1.235 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.632, allocations: 129.8 kB / 1.235 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-05/0.6321, allocations: 176.3 kB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.524e-05/0.6322, allocations: 180.2 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.156e-05/0.6322, allocations: 184.2 kB / 1.236 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.6326, allocations: 481.1 kB / 1.236 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.546e-05/0.6326, allocations: 108.9 kB / 1.236 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.6327, allocations: 101 kB / 1.236 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.455e-05/0.6327, allocations: 180.2 kB / 1.236 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.6328, allocations: 188.2 kB / 1.237 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-05/0.6329, allocations: 180.3 kB / 1.237 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.793e-05/0.633, allocations: 180.2 kB / 1.237 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.6331, allocations: 319.6 kB / 1.237 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.6332, allocations: 205.9 kB / 1.238 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.6333, allocations: 188.2 kB / 1.238 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.6335, allocations: 108.9 kB / 1.238 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.6336, allocations: 180.3 kB / 1.238 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.6336, allocations: 108.9 kB / 1.238 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002378/0.6338, allocations: 217.9 kB / 1.238 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6339, allocations: 3.938 kB / 1.238 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003347/0.6342, allocations: 55.83 kB / 1.238 GB, free: 12.31 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.0003147/0.6345, allocations: 218.8 kB / 1.239 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.6348, allocations: 79.78 kB / 1.239 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6348, allocations: 0 / 1.239 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.6348, allocations: 0 / 1.239 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.6353, allocations: 0.5495 MB / 1.239 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.6359, allocations: 494.5 kB / 1.24 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.6362, allocations: 0.7398 MB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.6363, allocations: 19.44 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.6363, allocations: 0 / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.004835/0.6411, allocations: 2.781 MB / 1.243 GB, free: 7.383 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches