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 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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_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.007068/0.007068, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001858/0.001858, allocations: 193.2 kB / 16.67 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.83 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.7011/0.9953, allocations: 170.3 MB / 1.408 GB, free: 6.324 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006795/1.002, allocations: 5.995 MB / 1.414 GB, free: 1.469 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/1.002, allocations: 18.94 kB / 1.414 GB, free: 1.457 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005275/1.003, allocations: 185.3 kB / 1.414 GB, free: 1.297 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002597/1.003, allocations: 86 kB / 1.414 GB, free: 1.227 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/1.004, allocations: 0.5224 MB / 1.414 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004652/1.005, allocations: 415.8 kB / 1.415 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/1.005, allocations: 132.8 kB / 1.415 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/1.005, allocations: 189.1 kB / 1.415 GB, free: 416 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/1.006, allocations: 158.2 kB / 1.415 GB, free: 316 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/1.006, allocations: 17.28 kB / 1.415 GB, free: 316 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007556/1.006, allocations: 451.4 kB / 1.416 GB, free: 64 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/1.006, allocations: 69.06 kB / 1.416 GB, free: 16 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/1.007, allocations: 105.5 kB / 1.416 GB, free: 15.94 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006423/1.007, allocations: 459.4 kB / 1.416 GB, free: 15.66 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/1.007, allocations: 0 / 1.416 GB, free: 15.66 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.543e-06/1.007, allocations: 0 / 1.416 GB, free: 15.66 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.007, allocations: 5.094 kB / 1.416 GB, free: 15.66 MB / 1.123 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.0006317/1.008, allocations: 0.519 MB / 1.417 GB, free: 15.16 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/1.008, allocations: 9.969 kB / 1.417 GB, free: 15.16 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.926e-05/1.008, allocations: 58.45 kB / 1.417 GB, free: 15.1 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/1.008, allocations: 50.42 kB / 1.417 GB, free: 15.08 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/1.009, allocations: 266.2 kB / 1.417 GB, free: 14.81 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/1.009, allocations: 131.6 kB / 1.417 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/1.009, allocations: 18.47 kB / 1.417 GB, free: 14.67 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/1.009, allocations: 299.1 kB / 1.418 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.009, allocations: 3.984 kB / 1.418 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/1.009, allocations: 11.16 kB / 1.418 GB, free: 14.42 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.009, allocations: 6.469 kB / 1.418 GB, free: 14.42 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/1.01, allocations: 159.4 kB / 1.418 GB, free: 14.35 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/1.011, allocations: 1.585 MB / 1.419 GB, free: 12.82 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 9.599e-05/1.011, allocations: 173 kB / 1.42 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/1.011, allocations: 85.67 kB / 1.42 GB, free: 12.55 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/1.011, allocations: 79.28 kB / 1.42 GB, free: 12.48 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/1.011, allocations: 111.2 kB / 1.42 GB, free: 12.36 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.011, allocations: 0 / 1.42 GB, free: 12.36 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 8.659e-05/1.012, allocations: 50.27 kB / 1.42 GB, free: 12.31 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/1.012, allocations: 126.7 kB / 1.42 GB, free: 12.18 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/1.012, allocations: 307.9 kB / 1.42 GB, free: 11.97 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/1.012, allocations: 29.69 kB / 1.42 GB, free: 11.94 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/1.012, allocations: 198.9 kB / 1.42 GB, free: 11.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/1.012, allocations: 1.062 kB / 1.42 GB, free: 11.75 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/1.012, allocations: 45.28 kB / 1.421 GB, free: 11.72 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.012, allocations: 327.1 kB / 1.421 GB, free: 11.39 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/1.013, allocations: 39.97 kB / 1.421 GB, free: 11.38 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/1.013, allocations: 165.3 kB / 1.421 GB, free: 11.18 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/1.013, allocations: 205 kB / 1.421 GB, free: 10.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/1.013, allocations: 1.406 kB / 1.421 GB, free: 10.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004147/1.013, allocations: 212.2 kB / 1.421 GB, free: 10.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.013, allocations: 12.22 kB / 1.421 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/1.013, allocations: 9.438 kB / 1.421 GB, free: 10.83 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.013, allocations: 5.844 kB / 1.421 GB, free: 10.83 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/1.014, allocations: 41.81 kB / 1.421 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/1.014, allocations: 6.031 kB / 1.422 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/1.014, allocations: 34.02 kB / 1.422 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/1.014, allocations: 9.656 kB / 1.422 GB, free: 10.8 MB / 1.123 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.0001654/1.014, allocations: 223.7 kB / 1.422 GB, free: 10.58 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/1.014, allocations: 126.2 kB / 1.422 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/1.014, allocations: 125.8 kB / 1.422 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.928e-05/1.014, allocations: 177.4 kB / 1.422 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.778e-05/1.014, allocations: 181.5 kB / 1.422 GB, free: 9.973 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.438e-05/1.014, allocations: 176.3 kB / 1.423 GB, free: 9.793 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/1.015, allocations: 482.9 kB / 1.423 GB, free: 9.297 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.002e-05/1.015, allocations: 114.1 kB / 1.423 GB, free: 9.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/1.015, allocations: 102.3 kB / 1.423 GB, free: 9.074 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.03e-05/1.015, allocations: 189.3 kB / 1.423 GB, free: 8.883 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/1.015, allocations: 177.4 kB / 1.424 GB, free: 8.703 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-05/1.015, allocations: 180.3 kB / 1.424 GB, free: 8.52 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-05/1.015, allocations: 185.6 kB / 1.424 GB, free: 8.332 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/1.015, allocations: 323.1 kB / 1.424 GB, free: 8.004 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.016, allocations: 206.2 kB / 1.424 GB, free: 7.785 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/1.016, allocations: 193.5 kB / 1.425 GB, free: 7.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/1.016, allocations: 102.4 kB / 1.425 GB, free: 7.484 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/1.016, allocations: 189.3 kB / 1.425 GB, free: 7.293 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/1.016, allocations: 106.2 kB / 1.425 GB, free: 7.184 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002494/1.016, allocations: 217 kB / 1.425 GB, free: 7.047 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.016, allocations: 0 / 1.425 GB, free: 7.047 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000363/1.017, allocations: 50.34 kB / 1.425 GB, free: 7.039 MB / 1.123 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.0005952/1.017, allocations: 0.8681 MB / 1.426 GB, free: 6.191 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001889/1.017, allocations: 75.09 kB / 1.426 GB, free: 6.16 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.017, allocations: 1.25 kB / 1.426 GB, free: 6.16 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-06/1.017, allocations: 5.375 kB / 1.426 GB, free: 6.156 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/1.018, allocations: 495.6 kB / 1.427 GB, free: 5.68 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/1.021, allocations: 2.502 MB / 1.429 GB, free: 3.543 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/1.021, allocations: 0.7305 MB / 1.43 GB, free: 2.82 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001189/1.021, allocations: 34.44 kB / 1.43 GB, free: 2.805 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/1.021, allocations: 59.66 kB / 1.43 GB, free: 2.754 MB / 1.123 GB Notification: Performance of SimCode: time 2.7e-07/1.021, allocations: 1.375 kB / 1.43 GB, free: 2.754 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/1.045, allocations: 4.059 MB / 1.434 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/8.674, allocations: 3.344 kB / 1.434 GB, free: 0.7109 MB / 1.123 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv","/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