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.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005364/0.005364, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001335/0.001335, allocations: 195.4 kB / 16.68 MB, free: 5.93 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.296/1.296, 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.156/2.156, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6433/0.6446, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1761/0.8207, allocations: 170.3 MB / 1.254 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0062/0.8269, allocations: 5.995 MB / 1.26 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.8272, allocations: 4 kB / 1.26 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.8277, allocations: 194.7 kB / 1.26 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.828, allocations: 87.38 kB / 1.26 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.8291, allocations: 0.5177 MB / 1.26 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.8295, allocations: 410.8 kB / 1.261 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.8297, allocations: 143.6 kB / 1.261 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.83, allocations: 195.2 kB / 1.261 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.8302, allocations: 147.4 kB / 1.261 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.8303, allocations: 16 kB / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006811/0.831, allocations: 458.8 kB / 1.262 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.444e-05/0.8311, allocations: 71.81 kB / 1.262 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.837e-05/0.8312, allocations: 103.5 kB / 1.262 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.8317, allocations: 458.5 kB / 1.262 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.8317, allocations: 0 / 1.262 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8317, allocations: 0 / 1.262 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.8318, allocations: 0 / 1.262 GB, free: 10.61 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005473/0.8323, allocations: 0.5224 MB / 1.263 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.8323, allocations: 8.031 kB / 1.263 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.025e-05/0.8324, allocations: 62.53 kB / 1.263 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.8327, allocations: 47.7 kB / 1.263 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.833, allocations: 266.5 kB / 1.263 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.8332, allocations: 131.4 kB / 1.263 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.8332, allocations: 20 kB / 1.263 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.8336, allocations: 294.8 kB / 1.264 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.8337, allocations: 4 kB / 1.264 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.8337, allocations: 8 kB / 1.264 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.8337, allocations: 8 kB / 1.264 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.834, allocations: 160.6 kB / 1.264 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.8353, allocations: 1.587 MB / 1.265 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.8354, allocations: 165.1 kB / 1.266 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.8354, allocations: 84.14 kB / 1.266 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.8354, allocations: 75.28 kB / 1.266 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.8355, allocations: 117.7 kB / 1.266 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.8355, allocations: 0 / 1.266 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.086e-05/0.8356, allocations: 45.5 kB / 1.266 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.8356, allocations: 126.7 kB / 1.266 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.836, allocations: 318.5 kB / 1.266 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.836, allocations: 25.7 kB / 1.266 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.8361, allocations: 187.2 kB / 1.266 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.8361, allocations: 0 / 1.266 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.8362, allocations: 45.61 kB / 1.267 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.8363, allocations: 330.8 kB / 1.267 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.8364, allocations: 39.97 kB / 1.267 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.8365, allocations: 165 kB / 1.267 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.8367, allocations: 196.9 kB / 1.267 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.8368, allocations: 0 / 1.267 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003874/0.8372, allocations: 221 kB / 1.267 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.8372, allocations: 11.94 kB / 1.267 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.8372, allocations: 7.938 kB / 1.267 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8372, allocations: 4 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.8374, allocations: 43.92 kB / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8374, allocations: 4 kB / 1.267 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.8376, allocations: 28.22 kB / 1.268 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.8376, allocations: 15.94 kB / 1.268 GB, free: 4.84 MB / 0.9981 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.000127/0.8377, allocations: 225 kB / 1.268 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.8378, allocations: 124.8 kB / 1.268 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.8379, allocations: 121.8 kB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.044e-05/0.8379, allocations: 184.2 kB / 1.268 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.265e-05/0.838, allocations: 184.3 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.011e-05/0.838, allocations: 176.3 kB / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.8383, allocations: 485.1 kB / 1.269 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/0.8384, allocations: 101 kB / 1.269 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.8384, allocations: 104.9 kB / 1.269 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.091e-05/0.8385, allocations: 180.2 kB / 1.269 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.8385, allocations: 192.2 kB / 1.27 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-05/0.8386, allocations: 176.3 kB / 1.27 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.275e-05/0.8386, allocations: 180.3 kB / 1.27 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.8388, allocations: 323.5 kB / 1.27 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.8389, allocations: 214 kB / 1.27 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.839, allocations: 180.3 kB / 1.271 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.8391, allocations: 109 kB / 1.271 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.8392, allocations: 184.2 kB / 1.271 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.8392, allocations: 101 kB / 1.271 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002359/0.8394, allocations: 221.9 kB / 1.271 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8394, allocations: 4 kB / 1.271 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003608/0.8398, allocations: 55.84 kB / 1.271 GB, free: 0.8789 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.0004728/0.8403, allocations: 0.8592 MB / 1.272 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.8405, allocations: 88.83 kB / 1.272 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8405, allocations: 4.125 kB / 1.272 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.8405, allocations: 0 / 1.272 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.841, allocations: 488.4 kB / 1.273 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.8434, allocations: 2.499 MB / 1.275 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.8436, allocations: 0.7359 MB / 1.276 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.8437, allocations: 41.88 kB / 1.276 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.8438, allocations: 55.42 kB / 1.276 GB, free: 11.88 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.8438, allocations: 0 / 1.276 GB, free: 11.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.8646, allocations: 4.044 MB / 1.28 GB, free: 7.922 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/8.219, allocations: 11.77 kB / 1.28 GB, free: 7.914 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/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