Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_10_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.006908/0.006908, allocations: 99.81 kB / 15.73 MB, free: 6.492 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.001702/0.001702, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2423, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6712/0.9135, allocations: 170.3 MB / 1.333 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00604/0.9196, allocations: 5.998 MB / 1.338 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.9198, allocations: 7.375 kB / 1.338 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.9204, allocations: 187.9 kB / 1.339 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.9207, allocations: 93.55 kB / 1.339 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.9218, allocations: 0.5251 MB / 1.339 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004359/0.9223, allocations: 424.7 kB / 1.34 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.9225, allocations: 131 kB / 1.34 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.9228, allocations: 195.8 kB / 1.34 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.923, allocations: 155.4 kB / 1.34 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.9231, allocations: 21.31 kB / 1.34 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006946/0.9238, allocations: 464.2 kB / 1.34 GB, free: 12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.9239, allocations: 68.17 kB / 1.341 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.603e-05/0.924, allocations: 100.9 kB / 1.341 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005893/0.9246, allocations: 462.4 kB / 1.341 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9246, allocations: 0 / 1.341 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.9246, allocations: 0 / 1.341 GB, free: 11.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9246, allocations: 0 / 1.341 GB, free: 11.75 MB / 1.029 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.0005576/0.9252, allocations: 0.5194 MB / 1.342 GB, free: 11.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.9252, allocations: 9.469 kB / 1.342 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.9253, allocations: 64.27 kB / 1.342 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.9255, allocations: 47.62 kB / 1.342 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.9259, allocations: 263.3 kB / 1.342 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.926, allocations: 134.5 kB / 1.342 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.9261, allocations: 21.88 kB / 1.342 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.9265, allocations: 295.1 kB / 1.342 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9265, allocations: 1.094 kB / 1.342 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.9265, allocations: 10.47 kB / 1.342 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.9265, allocations: 10.56 kB / 1.342 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.9268, allocations: 161.5 kB / 1.343 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.9281, allocations: 1.587 MB / 1.344 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.9281, allocations: 166.5 kB / 1.344 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.9282, allocations: 80.14 kB / 1.344 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.9282, allocations: 79.27 kB / 1.344 GB, free: 8.797 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.9282, allocations: 117.4 kB / 1.345 GB, free: 8.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 2.335e-06/0.9282, allocations: 4 kB / 1.345 GB, free: 8.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.054e-05/0.9283, allocations: 47.14 kB / 1.345 GB, free: 8.629 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.9284, allocations: 126.7 kB / 1.345 GB, free: 8.492 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.9287, allocations: 314.1 kB / 1.345 GB, free: 8.312 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.9287, allocations: 25.7 kB / 1.345 GB, free: 8.281 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.9289, allocations: 185.3 kB / 1.345 GB, free: 8.121 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.9289, allocations: 8.531 kB / 1.345 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.9289, allocations: 44.23 kB / 1.345 GB, free: 8.086 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.9291, allocations: 333.5 kB / 1.346 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.9291, allocations: 35.61 kB / 1.346 GB, free: 7.754 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.9293, allocations: 166.1 kB / 1.346 GB, free: 7.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.9295, allocations: 198.2 kB / 1.346 GB, free: 7.363 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9295, allocations: 1.375 kB / 1.346 GB, free: 7.363 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003779/0.9299, allocations: 218.9 kB / 1.346 GB, free: 7.258 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.9299, allocations: 13.59 kB / 1.346 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9299, allocations: 5.281 kB / 1.346 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.93, allocations: 9.656 kB / 1.346 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.9301, allocations: 43.25 kB / 1.346 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.9301, allocations: 5.438 kB / 1.346 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.9303, allocations: 34.17 kB / 1.346 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.9303, allocations: 9.781 kB / 1.346 GB, free: 7.223 MB / 1.029 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.0001242/0.9305, allocations: 224.7 kB / 1.346 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.9305, allocations: 125.2 kB / 1.347 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.9306, allocations: 123.5 kB / 1.347 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.377e-05/0.9307, allocations: 182.9 kB / 1.347 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.241e-05/0.9307, allocations: 181.6 kB / 1.347 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.176e-05/0.9308, allocations: 178.4 kB / 1.347 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.931, allocations: 485.6 kB / 1.348 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/0.9311, allocations: 105 kB / 1.348 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.9311, allocations: 108.7 kB / 1.348 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.904e-05/0.9312, allocations: 185.6 kB / 1.348 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.9312, allocations: 181.5 kB / 1.348 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.975e-05/0.9313, allocations: 181.6 kB / 1.348 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-05/0.9314, allocations: 178.4 kB / 1.349 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.9315, allocations: 329.4 kB / 1.349 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.9316, allocations: 210.6 kB / 1.349 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.9317, allocations: 185.3 kB / 1.349 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.9318, allocations: 102.1 kB / 1.349 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.9319, allocations: 187.7 kB / 1.35 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.9319, allocations: 102.1 kB / 1.35 GB, free: 3.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002224/0.9321, allocations: 220.9 kB / 1.35 GB, free: 3.543 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9321, allocations: 1.594 kB / 1.35 GB, free: 3.543 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003516/0.9325, allocations: 45.16 kB / 1.35 GB, free: 3.539 MB / 1.029 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.000463/0.933, allocations: 0.8691 MB / 1.351 GB, free: 2.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.9331, allocations: 82.86 kB / 1.351 GB, free: 2.672 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9332, allocations: 1.25 kB / 1.351 GB, free: 2.672 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.9332, allocations: 0 / 1.351 GB, free: 2.672 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.9336, allocations: 483.1 kB / 1.351 GB, free: 2.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.9359, allocations: 2.502 MB / 1.354 GB, free: 232 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.9362, allocations: 0.743 MB / 1.354 GB, free: 15.52 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.9363, allocations: 39.48 kB / 1.355 GB, free: 15.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.9364, allocations: 57.08 kB / 1.355 GB, free: 15.46 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.9364, allocations: 0 / 1.355 GB, free: 15.46 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.9552, allocations: 4.038 MB / 1.359 GB, free: 14.87 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.99, allocations: 11.25 kB / 1.359 GB, free: 14.86 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches