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.003996/0.003996, allocations: 99.81 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.001031/0.001031, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.163/2.163, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6447, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1776/0.8223, allocations: 170.3 MB / 1.254 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005823/0.8282, allocations: 5.995 MB / 1.26 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.8283, allocations: 11.94 kB / 1.26 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.8289, allocations: 198.7 kB / 1.26 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.8291, allocations: 87.38 kB / 1.26 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009511/0.8301, allocations: 0.5333 MB / 1.26 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.8305, allocations: 418.7 kB / 1.261 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.8308, allocations: 130.3 kB / 1.261 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.8311, allocations: 195.2 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.8313, allocations: 147.4 kB / 1.261 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.8313, allocations: 16 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006814/0.832, allocations: 466.8 kB / 1.262 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.8321, allocations: 71.81 kB / 1.262 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.8322, allocations: 103.5 kB / 1.262 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005533/0.8328, allocations: 459.3 kB / 1.262 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.8328, allocations: 0 / 1.262 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8328, allocations: 0 / 1.262 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.8328, allocations: 3.984 kB / 1.262 GB, free: 10.63 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.0005186/0.8333, allocations: 0.5297 MB / 1.263 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.8334, allocations: 8.031 kB / 1.263 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.8334, allocations: 58.55 kB / 1.263 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.8337, allocations: 43.84 kB / 1.263 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.834, allocations: 262.7 kB / 1.263 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.8342, allocations: 131.4 kB / 1.263 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.8342, allocations: 20 kB / 1.263 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.8346, allocations: 298.7 kB / 1.264 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.8347, allocations: 4 kB / 1.264 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.8347, allocations: 8 kB / 1.264 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.8347, allocations: 8 kB / 1.264 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.835, allocations: 164.6 kB / 1.264 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.8362, allocations: 1.583 MB / 1.265 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.045e-05/0.8363, allocations: 169.1 kB / 1.266 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.8364, allocations: 80.14 kB / 1.266 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.8364, allocations: 75.28 kB / 1.266 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.8364, allocations: 121.8 kB / 1.266 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.8364, allocations: 0 / 1.266 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.91e-05/0.8365, allocations: 53.5 kB / 1.266 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.8366, allocations: 126.7 kB / 1.266 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.8369, allocations: 302.6 kB / 1.266 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.8369, allocations: 25.7 kB / 1.266 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.837, allocations: 195.6 kB / 1.267 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.8371, allocations: 11.98 kB / 1.267 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.8371, allocations: 45.66 kB / 1.267 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.8372, allocations: 326.8 kB / 1.267 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.8373, allocations: 39.91 kB / 1.267 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.8375, allocations: 161.1 kB / 1.267 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.8377, allocations: 204.8 kB / 1.267 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8377, allocations: 0 / 1.267 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003972/0.8381, allocations: 217.7 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8382, allocations: 15.94 kB / 1.267 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8382, allocations: 4 kB / 1.267 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8382, allocations: 8 kB / 1.267 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.8383, allocations: 35.92 kB / 1.268 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.8384, allocations: 11.97 kB / 1.268 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.8385, allocations: 27.78 kB / 1.268 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.8386, allocations: 15.98 kB / 1.268 GB, free: 4.848 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.0001254/0.8387, allocations: 221 kB / 1.268 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.8388, allocations: 132.8 kB / 1.268 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.8388, allocations: 125.8 kB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-05/0.8389, allocations: 176.3 kB / 1.268 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.529e-05/0.839, allocations: 188.2 kB / 1.268 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/0.839, allocations: 176.3 kB / 1.269 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.8393, allocations: 485.1 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/0.8393, allocations: 105 kB / 1.269 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.8394, allocations: 101 kB / 1.269 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-05/0.8394, allocations: 188.1 kB / 1.269 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.8395, allocations: 180.3 kB / 1.27 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-05/0.8395, allocations: 180.2 kB / 1.27 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.948e-05/0.8396, allocations: 180.3 kB / 1.27 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.8397, allocations: 323.7 kB / 1.27 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.8398, allocations: 210.1 kB / 1.27 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/0.8399, allocations: 180.2 kB / 1.271 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.8401, allocations: 113 kB / 1.271 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.8401, allocations: 184.3 kB / 1.271 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.8402, allocations: 108.9 kB / 1.271 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002304/0.8404, allocations: 221.9 kB / 1.271 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8404, allocations: 0 / 1.271 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003494/0.8408, allocations: 51.89 kB / 1.271 GB, free: 0.8828 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.0004563/0.8412, allocations: 0.8671 MB / 1.272 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.8414, allocations: 79.78 kB / 1.272 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8414, allocations: 0 / 1.272 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.8414, allocations: 5.188 kB / 1.272 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.8419, allocations: 484.2 kB / 1.273 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.8442, 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.0002628/0.8445, allocations: 0.7398 MB / 1.276 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.8446, allocations: 33.94 kB / 1.276 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.8447, allocations: 55.41 kB / 1.276 GB, free: 11.88 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.8447, allocations: 4 kB / 1.276 GB, free: 11.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.8627, allocations: 4.044 MB / 1.28 GB, free: 7.926 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.222/8.084, allocations: 6.594 kB / 1.28 GB, free: 7.922 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