Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001123/0.001123, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001721/0.001721, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003726, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8813/0.8817, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1977/1.079, allocations: 154.8 MB / 1.106 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00613/1.086, allocations: 5.54 MB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003822/1.086, allocations: 8 kB / 1.111 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000621/1.087, allocations: 135 kB / 1.111 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003392/1.087, allocations: 79.56 kB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/1.088, allocations: 350.6 kB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004591/1.089, allocations: 414.7 kB / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/1.089, allocations: 101.5 kB / 1.112 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/1.089, allocations: 155.4 kB / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/1.089, allocations: 123.5 kB / 1.112 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/1.089, allocations: 8 kB / 1.112 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/1.09, allocations: 219.4 kB / 1.113 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/1.09, allocations: 59.81 kB / 1.113 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/1.09, allocations: 65.58 kB / 1.113 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/1.09, allocations: 267.4 kB / 1.113 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.09, allocations: 0 / 1.113 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.272e-06/1.09, allocations: 4 kB / 1.113 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.09, allocations: 0 / 1.113 GB, free: 12.74 MB / 0.8731 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.0005384/1.091, allocations: 486.9 kB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.091, allocations: 16.02 kB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/1.091, allocations: 43.7 kB / 1.113 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/1.092, allocations: 251.8 kB / 1.114 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/1.092, allocations: 135.3 kB / 1.114 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/1.092, allocations: 20 kB / 1.114 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/1.092, allocations: 294.8 kB / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.092, allocations: 0 / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/1.092, allocations: 12 kB / 1.114 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.092, allocations: 8 kB / 1.114 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/1.093, allocations: 152.6 kB / 1.114 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/1.094, allocations: 1.583 MB / 1.116 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/1.094, allocations: 173.1 kB / 1.116 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/1.094, allocations: 80.14 kB / 1.116 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/1.094, allocations: 79.28 kB / 1.116 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.094, allocations: 113.8 kB / 1.116 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.094, allocations: 0 / 1.116 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.2e-05/1.094, allocations: 49.48 kB / 1.116 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/1.095, allocations: 126.7 kB / 1.116 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/1.095, allocations: 310.6 kB / 1.117 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/1.095, allocations: 25.7 kB / 1.117 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/1.095, allocations: 195.1 kB / 1.117 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-06/1.095, allocations: 4 kB / 1.117 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/1.095, allocations: 4 kB / 1.117 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.095, allocations: 330.8 kB / 1.117 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/1.095, allocations: 39.97 kB / 1.117 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/1.095, allocations: 162.4 kB / 1.117 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/1.096, allocations: 59.97 kB / 1.118 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.096, allocations: 7.938 kB / 1.118 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003985/1.096, allocations: 205.6 kB / 1.118 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.096, allocations: 8 kB / 1.118 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.096, allocations: 7.938 kB / 1.118 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.096, allocations: 8 kB / 1.118 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/1.096, allocations: 43.91 kB / 1.118 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.096, allocations: 15.88 kB / 1.118 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/1.096, allocations: 23.69 kB / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/1.096, allocations: 16 kB / 1.118 GB, free: 7.344 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/1.097, allocations: 225 kB / 1.118 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/1.097, allocations: 120.7 kB / 1.118 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/1.097, allocations: 125.8 kB / 1.118 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.646e-05/1.097, allocations: 176.3 kB / 1.118 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.02e-05/1.097, allocations: 180.3 kB / 1.119 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-05/1.097, allocations: 184.2 kB / 1.119 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/1.097, allocations: 489.1 kB / 1.119 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.418e-05/1.097, allocations: 108.9 kB / 1.119 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/1.097, allocations: 105 kB / 1.119 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.477e-05/1.098, allocations: 180.3 kB / 1.12 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/1.098, allocations: 180.2 kB / 1.12 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.794e-05/1.098, allocations: 176.3 kB / 1.12 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.372e-05/1.098, allocations: 192.2 kB / 1.12 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/1.098, allocations: 315.6 kB / 1.12 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.098, allocations: 213.7 kB / 1.121 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/1.098, allocations: 184.3 kB / 1.121 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/1.098, allocations: 112.9 kB / 1.121 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/1.098, allocations: 176.6 kB / 1.121 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/1.098, allocations: 101 kB / 1.121 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002443/1.099, allocations: 221.9 kB / 1.121 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.099, allocations: 0 / 1.121 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003535/1.099, allocations: 44 kB / 1.121 GB, free: 3.395 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/1.099, allocations: 218.2 kB / 1.122 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000196/1.099, allocations: 84.78 kB / 1.122 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.099, allocations: 0 / 1.122 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/1.099, allocations: 0 / 1.122 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/1.1, allocations: 0.5404 MB / 1.122 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/1.101, allocations: 453.3 kB / 1.123 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/1.101, allocations: 0.7398 MB / 1.123 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001483/1.101, allocations: 37.88 kB / 1.123 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/1.101, allocations: 19.44 kB / 1.124 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.101, allocations: 0 / 1.124 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of Templates: time 0.004657/1.106, allocations: 1.699 MB / 1.125 GB, free: 15.57 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches