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.001331/0.001332, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001381/0.001381, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.528/1.528, allocations: 222.9 MB / 239.9 MB, free: 4.531 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 3.078/3.078, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.668/0.6699, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2178/0.8877, allocations: 168.1 MB / 1.181 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007769/0.8955, allocations: 5.929 MB / 1.187 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.8959, allocations: 7.938 kB / 1.187 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007004/0.8966, allocations: 163 kB / 1.187 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.8971, allocations: 91.55 kB / 1.187 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.8985, allocations: 486.5 kB / 1.187 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.8991, allocations: 418.6 kB / 1.188 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.8994, allocations: 143.6 kB / 1.188 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.8997, allocations: 187.4 kB / 1.188 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.9, allocations: 155.3 kB / 1.188 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.9, allocations: 16 kB / 1.188 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008341/0.9009, allocations: 462.7 kB / 1.189 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.901, allocations: 75.81 kB / 1.189 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.9011, allocations: 107.5 kB / 1.189 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006946/0.9018, allocations: 474.5 kB / 1.189 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.9018, allocations: 0 / 1.189 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9018, allocations: 0 / 1.189 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.9018, allocations: 0 / 1.189 GB, free: 1.375 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.0006965/0.9025, allocations: 0.5224 MB / 1.19 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.9026, allocations: 8.031 kB / 1.19 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.9029, allocations: 47.7 kB / 1.19 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.9033, allocations: 246.6 kB / 1.19 GB, free: 480 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.9034, allocations: 135.4 kB / 1.19 GB, free: 320 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.9035, allocations: 24 kB / 1.19 GB, free: 296 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.904, allocations: 294.8 kB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9041, allocations: 0 / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.9041, allocations: 8 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.9041, allocations: 11.98 kB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.9044, allocations: 164.6 kB / 1.191 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.9063, allocations: 1.583 MB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.9064, allocations: 169.1 kB / 1.192 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.9065, allocations: 80.14 kB / 1.193 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.9065, allocations: 79.28 kB / 1.193 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/0.9066, allocations: 105.8 kB / 1.193 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.9066, allocations: 0 / 1.193 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.000113/0.9067, allocations: 57.3 kB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/0.9068, allocations: 130.7 kB / 1.193 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.9073, allocations: 310.5 kB / 1.193 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.9073, allocations: 25.7 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.9075, allocations: 191.2 kB / 1.193 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.9075, allocations: 11.91 kB / 1.193 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/0.9076, allocations: 45.58 kB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.9078, allocations: 330.8 kB / 1.194 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/0.9079, allocations: 39.97 kB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.9081, allocations: 163.3 kB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.9084, allocations: 204.9 kB / 1.194 GB, free: 12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9084, allocations: 0 / 1.194 GB, free: 12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004642/0.9089, allocations: 217.3 kB / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9089, allocations: 11.94 kB / 1.194 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.9089, allocations: 4 kB / 1.194 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.909, allocations: 4 kB / 1.194 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.9091, allocations: 39.92 kB / 1.194 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.9091, allocations: 7.984 kB / 1.194 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.9093, allocations: 35.59 kB / 1.194 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.9094, allocations: 8 kB / 1.194 GB, free: 11.68 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.0001928/0.9096, allocations: 225.3 kB / 1.195 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.9097, allocations: 128.7 kB / 1.195 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/0.9097, allocations: 121.8 kB / 1.195 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.204e-05/0.9098, allocations: 176.3 kB / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-05/0.9099, allocations: 180.2 kB / 1.195 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.497e-05/0.91, allocations: 184.3 kB / 1.195 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.9104, allocations: 485.1 kB / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.345e-05/0.9105, allocations: 101 kB / 1.196 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.9105, allocations: 105 kB / 1.196 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.772e-05/0.9106, allocations: 184.1 kB / 1.196 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/0.9107, allocations: 176.3 kB / 1.196 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.418e-05/0.9108, allocations: 188.2 kB / 1.197 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.131e-05/0.9109, allocations: 184.3 kB / 1.197 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.9111, allocations: 319.6 kB / 1.197 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.9113, allocations: 205.8 kB / 1.197 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.9114, allocations: 192.4 kB / 1.198 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.9115, allocations: 101 kB / 1.198 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.9116, allocations: 184.2 kB / 1.198 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.9117, allocations: 113 kB / 1.198 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002649/0.912, allocations: 217.9 kB / 1.198 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.912, allocations: 0 / 1.198 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003914/0.9124, allocations: 47.94 kB / 1.198 GB, free: 7.715 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.0004319/0.9128, allocations: 207 kB / 1.198 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.9131, allocations: 87.72 kB / 1.198 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9131, allocations: 0 / 1.198 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.9131, allocations: 0 / 1.198 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.9137, allocations: 497.4 kB / 1.199 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.9145, allocations: 444.8 kB / 1.199 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.915, allocations: 0.7437 MB / 1.2 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.9152, allocations: 33.94 kB / 1.2 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.9152, allocations: 15.44 kB / 1.2 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.9152, allocations: 4 kB / 1.2 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of Templates: time 0.005741/0.921, allocations: 1.804 MB / 1.202 GB, free: 3.852 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