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.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.357/2.357, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 71.89 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5126/0.5138, allocations: 140.3 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1689/0.6828, allocations: 170.3 MB / 1.116 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006501/0.6893, allocations: 5.987 MB / 1.122 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.6896, allocations: 7.938 kB / 1.122 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.6902, allocations: 198.7 kB / 1.122 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.6905, allocations: 87.44 kB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.6916, allocations: 0.5138 MB / 1.123 GB, free: 120 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.6921, allocations: 422.5 kB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.6923, allocations: 139.6 kB / 1.123 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.6926, allocations: 187.3 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.6928, allocations: 143.4 kB / 1.124 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.6928, allocations: 20 kB / 1.124 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.6936, allocations: 462.8 kB / 1.124 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.241e-05/0.6937, allocations: 67.81 kB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.6938, allocations: 107.4 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.6943, allocations: 438.8 kB / 1.125 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6944, allocations: 0 / 1.125 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6944, allocations: 0 / 1.125 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.6944, allocations: 0 / 1.125 GB, free: 14.16 MB / 0.8887 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.0005501/0.6949, allocations: 0.5224 MB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.695, allocations: 8.031 kB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.695, allocations: 58.55 kB / 1.125 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.6953, allocations: 47.7 kB / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.6956, allocations: 256 kB / 1.125 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.6957, allocations: 135.3 kB / 1.126 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.6958, allocations: 24 kB / 1.126 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.6962, allocations: 298.8 kB / 1.126 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6962, allocations: 0 / 1.126 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.6962, allocations: 12 kB / 1.126 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.6963, allocations: 8 kB / 1.126 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.6966, allocations: 160.6 kB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.6978, allocations: 1.583 MB / 1.128 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/0.6979, allocations: 165.1 kB / 1.128 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.698, allocations: 88.12 kB / 1.128 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.698, allocations: 75.28 kB / 1.128 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.698, allocations: 121.7 kB / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6981, allocations: 0 / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.962e-05/0.6981, allocations: 53.41 kB / 1.128 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.6982, allocations: 126.7 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.6985, allocations: 306.6 kB / 1.128 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.6986, allocations: 29.7 kB / 1.129 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.6987, allocations: 187.2 kB / 1.129 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/0.6987, allocations: 7.984 kB / 1.129 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.6988, allocations: 41.62 kB / 1.129 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6989, allocations: 330.8 kB / 1.129 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.699, allocations: 35.97 kB / 1.129 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.6992, allocations: 161.9 kB / 1.129 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.6994, allocations: 200.9 kB / 1.129 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6994, allocations: 0 / 1.129 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004029/0.6998, allocations: 225.1 kB / 1.13 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.6998, allocations: 11.94 kB / 1.13 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6998, allocations: 4 kB / 1.13 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6999, allocations: 4 kB / 1.13 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.7, allocations: 39.92 kB / 1.13 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.7, allocations: 15.86 kB / 1.13 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.7002, allocations: 36.06 kB / 1.13 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.7003, allocations: 12 kB / 1.13 GB, free: 8.387 MB / 0.8887 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.0001334/0.7004, allocations: 221 kB / 1.13 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/0.7005, allocations: 120.7 kB / 1.13 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.7005, allocations: 121.8 kB / 1.13 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.966e-05/0.7006, allocations: 188.2 kB / 1.13 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-05/0.7007, allocations: 176.3 kB / 1.131 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-05/0.7007, allocations: 188.2 kB / 1.131 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.701, allocations: 473.1 kB / 1.131 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-05/0.7011, allocations: 105 kB / 1.131 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.7011, allocations: 108.9 kB / 1.131 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.333e-05/0.7012, allocations: 184.2 kB / 1.132 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.7013, allocations: 184.2 kB / 1.132 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.582e-05/0.7013, allocations: 180.3 kB / 1.132 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.855e-05/0.7014, allocations: 176.3 kB / 1.132 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.7015, allocations: 323.6 kB / 1.132 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.7017, allocations: 217.7 kB / 1.133 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.7017, allocations: 176.3 kB / 1.133 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.7019, allocations: 101.3 kB / 1.133 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.7019, allocations: 188.2 kB / 1.133 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.702, allocations: 105 kB / 1.133 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002434/0.7022, allocations: 221.9 kB / 1.133 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7022, allocations: 0 / 1.133 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003639/0.7026, allocations: 51.94 kB / 1.133 GB, free: 4.441 MB / 0.8887 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.0005396/0.7032, allocations: 0.8747 MB / 1.134 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.7034, allocations: 76.66 kB / 1.134 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7034, allocations: 384 / 1.134 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.7034, allocations: 8 kB / 1.134 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.7039, allocations: 481.8 kB / 1.135 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.7064, allocations: 2.514 MB / 1.137 GB, free: 280 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.7067, allocations: 0.7398 MB / 1.138 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.7069, allocations: 33.94 kB / 1.138 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.7069, allocations: 55.42 kB / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.707, allocations: 0 / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.7265, allocations: 3.971 MB / 1.142 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.844, allocations: 4.734 kB / 1.142 GB, free: 11.53 MB / 0.9044 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