Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 110.7 kB / 16.37 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.001115/0.001115, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 66.59 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3258, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.7848/1.111, allocations: 147.9 MB / 1.096 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005819/1.116, allocations: 4.646 MB / 1.1 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005249/1.117, allocations: 9.969 kB / 1.1 GB, free: 7.512 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008014/1.118, allocations: 168.1 kB / 1.1 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003495/1.118, allocations: 80.62 kB / 1.1 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/1.118, allocations: 64.16 kB / 1.1 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005072/1.119, allocations: 296.7 kB / 1.101 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/1.119, allocations: 105.8 kB / 1.101 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/1.119, allocations: 99.62 kB / 1.101 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/1.12, allocations: 138.8 kB / 1.101 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/1.12, allocations: 10.03 kB / 1.101 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.734e-05/1.12, allocations: 12.77 kB / 1.101 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/1.12, allocations: 27.77 kB / 1.101 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/1.12, allocations: 77.56 kB / 1.101 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/1.12, allocations: 158.8 kB / 1.101 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.12, allocations: 3.188 kB / 1.101 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.314e-06/1.12, allocations: 2.344 kB / 1.101 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.12, allocations: 0 / 1.101 GB, free: 7.484 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009562/1.121, allocations: 445.6 kB / 1.102 GB, free: 23.09 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/1.121, allocations: 9.562 kB / 1.102 GB, free: 23.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/1.121, allocations: 19.09 kB / 1.102 GB, free: 23.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/1.122, allocations: 252.7 kB / 1.102 GB, free: 22.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/1.122, allocations: 10.5 kB / 1.102 GB, free: 22.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/1.122, allocations: 20.59 kB / 1.102 GB, free: 22.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/1.122, allocations: 215.3 kB / 1.102 GB, free: 22.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.122, allocations: 5.031 kB / 1.102 GB, free: 22.72 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/1.122, allocations: 10.19 kB / 1.102 GB, free: 22.72 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/1.122, allocations: 5.406 kB / 1.102 GB, free: 22.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/1.122, allocations: 69.84 kB / 1.102 GB, free: 22.72 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/1.124, allocations: 1.584 MB / 1.104 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/1.124, allocations: 171 kB / 1.104 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/1.124, allocations: 86.09 kB / 1.104 GB, free: 21.03 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/1.124, allocations: 78.36 kB / 1.104 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/1.124, allocations: 111 kB / 1.104 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/1.124, allocations: 0.9062 kB / 1.104 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.423e-05/1.124, allocations: 47.38 kB / 1.104 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/1.124, allocations: 128.7 kB / 1.104 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/1.124, allocations: 245.3 kB / 1.105 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/1.124, allocations: 30.64 kB / 1.105 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/1.125, allocations: 139.6 kB / 1.105 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/1.125, allocations: 1.969 kB / 1.105 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/1.125, allocations: 30.98 kB / 1.105 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.125, allocations: 329.3 kB / 1.105 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/1.125, allocations: 8.406 kB / 1.105 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/1.125, allocations: 49.73 kB / 1.105 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.784e-05/1.125, allocations: 64.89 kB / 1.105 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.125, allocations: 1.094 kB / 1.105 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001875/1.125, allocations: 93.27 kB / 1.105 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.125, allocations: 7.469 kB / 1.105 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.125, allocations: 0.7812 kB / 1.105 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.125, allocations: 4.047 kB / 1.105 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/1.125, allocations: 13.98 kB / 1.105 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.125, allocations: 6.203 kB / 1.105 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/1.125, allocations: 26.16 kB / 1.105 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/1.125, allocations: 2.969 kB / 1.106 GB, free: 19.92 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001349/1.126, allocations: 198.4 kB / 1.106 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/1.126, allocations: 124.5 kB / 1.106 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/1.126, allocations: 120.1 kB / 1.106 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.431e-05/1.126, allocations: 182.1 kB / 1.106 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-05/1.126, allocations: 182.2 kB / 1.106 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.36e-05/1.126, allocations: 182.2 kB / 1.106 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/1.126, allocations: 456.4 kB / 1.107 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.063e-05/1.126, allocations: 105.3 kB / 1.107 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/1.127, allocations: 106.9 kB / 1.107 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/1.127, allocations: 183.2 kB / 1.107 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.805e-05/1.127, allocations: 182.4 kB / 1.107 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.407e-05/1.127, allocations: 181.3 kB / 1.108 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.343e-05/1.127, allocations: 180.8 kB / 1.108 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/1.127, allocations: 325.2 kB / 1.108 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/1.127, allocations: 195.9 kB / 1.108 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.127, allocations: 182.7 kB / 1.108 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/1.128, allocations: 108.8 kB / 1.109 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.128, allocations: 178.8 kB / 1.109 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/1.128, allocations: 108.1 kB / 1.109 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002583/1.128, allocations: 178.5 kB / 1.109 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.128, allocations: 0.75 kB / 1.109 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003219/1.128, allocations: 22.12 kB / 1.109 GB, free: 16.42 MB / 0.8731 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.0002124/1.129, allocations: 175.1 kB / 1.109 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001239/1.129, allocations: 21.48 kB / 1.109 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.129, allocations: 0.9688 kB / 1.109 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.918e-06/1.129, allocations: 4.188 kB / 1.109 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008016/1.13, allocations: 0.5062 MB / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/1.13, allocations: 318 kB / 1.11 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/1.131, allocations: 0.713 MB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.926e-05/1.131, allocations: 19.72 kB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/1.131, allocations: 15.84 kB / 1.111 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.131, allocations: 0 / 1.111 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.006555/1.137, allocations: 1.608 MB / 1.112 GB, free: 14.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches