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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001455/0.001455, allocations: 195 kB / 16.14 MB, free: 6.629 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.532/1.532, allocations: 222.9 MB / 239.8 MB, free: 4.52 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.858/2.858, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 67.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7642, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2078/0.972, allocations: 168.1 MB / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.9828, allocations: 5.988 MB / 1.187 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006115/0.9835, allocations: 4 kB / 1.187 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008364/0.9844, allocations: 151.1 kB / 1.187 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.9849, allocations: 79.5 kB / 1.187 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.9869, allocations: 498.5 kB / 1.187 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008009/0.9877, allocations: 466.6 kB / 1.188 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.9881, allocations: 139.5 kB / 1.188 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004815/0.9886, allocations: 175.4 kB / 1.188 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.9889, allocations: 151.3 kB / 1.188 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.989, allocations: 12 kB / 1.188 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.9901, allocations: 0.5181 MB / 1.189 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.9902, allocations: 59.83 kB / 1.189 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.9904, allocations: 107.5 kB / 1.189 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006984/0.9911, allocations: 462.6 kB / 1.189 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.9911, allocations: 4 kB / 1.189 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9911, allocations: 0 / 1.189 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.9911, allocations: 4 kB / 1.189 GB, free: 1.246 MB / 0.9356 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.0008309/0.992, allocations: 0.5159 MB / 1.19 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.992, allocations: 8.031 kB / 1.19 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.9924, allocations: 43.8 kB / 1.19 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.9928, allocations: 248.5 kB / 1.19 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.993, allocations: 139.4 kB / 1.19 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.993, allocations: 20 kB / 1.19 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.9936, allocations: 298.7 kB / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.9937, allocations: 0 / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.9937, allocations: 12 kB / 1.191 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.9937, allocations: 8 kB / 1.191 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.9941, allocations: 156.6 kB / 1.191 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.996, allocations: 1.587 MB / 1.192 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.9961, allocations: 173.1 kB / 1.192 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.9962, allocations: 80.14 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.9962, allocations: 79.27 kB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/0.9963, allocations: 113.8 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9963, allocations: 0 / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001262/0.9964, allocations: 49.39 kB / 1.193 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.9965, allocations: 126.7 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.997, allocations: 314.5 kB / 1.193 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.997, allocations: 25.7 kB / 1.193 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.9972, allocations: 191.2 kB / 1.193 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-06/0.9972, allocations: 0 / 1.193 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.9973, allocations: 53.56 kB / 1.193 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.9975, allocations: 330.9 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.825e-05/0.9976, allocations: 43.91 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.9978, allocations: 161.1 kB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.9981, allocations: 196.8 kB / 1.194 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9981, allocations: 7.938 kB / 1.194 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004379/0.9986, allocations: 209.6 kB / 1.194 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.9986, allocations: 12 kB / 1.194 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.9986, allocations: 8 kB / 1.194 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.9987, allocations: 4 kB / 1.194 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.9988, allocations: 43.91 kB / 1.194 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.9989, allocations: 4 kB / 1.194 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.999, allocations: 35.59 kB / 1.194 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.9991, allocations: 8 kB / 1.194 GB, free: 11.56 MB / 0.9512 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.0001795/0.9993, allocations: 221 kB / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.9994, allocations: 128.7 kB / 1.195 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.9995, allocations: 125.8 kB / 1.195 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.5e-05/0.9996, allocations: 180.2 kB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.742e-05/0.9996, allocations: 180.2 kB / 1.195 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-05/0.9997, allocations: 180.3 kB / 1.195 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/1, allocations: 485 kB / 1.196 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.184e-05/1, allocations: 109 kB / 1.196 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/1, allocations: 101 kB / 1.196 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/1, allocations: 188.1 kB / 1.196 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/1.001, allocations: 180.3 kB / 1.196 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001075/1.001, allocations: 180.2 kB / 1.197 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-05/1.001, allocations: 180.2 kB / 1.197 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/1.001, allocations: 327.5 kB / 1.197 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/1.001, allocations: 201.9 kB / 1.197 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/1.001, allocations: 188.1 kB / 1.197 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/1.001, allocations: 109 kB / 1.198 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.002, allocations: 184.3 kB / 1.198 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/1.002, allocations: 104.9 kB / 1.198 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002941/1.002, allocations: 217.9 kB / 1.198 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.81e-07/1.002, allocations: 0 / 1.198 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004402/1.002, allocations: 51.94 kB / 1.198 GB, free: 7.594 MB / 0.9512 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.0003994/1.003, allocations: 203 kB / 1.198 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002249/1.003, allocations: 84.89 kB / 1.198 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.003, allocations: 4 kB / 1.198 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/1.003, allocations: 7.938 kB / 1.198 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/1.004, allocations: 0.5406 MB / 1.199 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/1.004, allocations: 458.2 kB / 1.199 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/1.005, allocations: 0.7359 MB / 1.2 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001548/1.005, allocations: 41.81 kB / 1.2 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/1.005, allocations: 19.44 kB / 1.2 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/1.005, allocations: 0 / 1.2 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of Templates: time 0.005496/1.01, allocations: 1.755 MB / 1.202 GB, free: 3.707 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (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 & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/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