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.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.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_9_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_9_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.006427/0.006427, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.00153/0.00153, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.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.355/2.355, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7018/0.7031, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1938/0.897, allocations: 168.1 MB / 1.114 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007644/0.9047, allocations: 5.988 MB / 1.12 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.9052, allocations: 8 kB / 1.12 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.9059, allocations: 151.1 kB / 1.12 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.9064, allocations: 79.5 kB / 1.12 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.9077, allocations: 494.5 kB / 1.12 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.9084, allocations: 470.5 kB / 1.121 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.9086, allocations: 131.6 kB / 1.121 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.909, allocations: 175.3 kB / 1.121 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.9093, allocations: 151.3 kB / 1.121 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.9093, allocations: 12 kB / 1.121 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008777/0.9102, allocations: 0.5143 MB / 1.122 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.9103, allocations: 67.81 kB / 1.122 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.9105, allocations: 103.5 kB / 1.122 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.911, allocations: 323.3 kB / 1.122 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.911, allocations: 0 / 1.122 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.012e-06/0.911, allocations: 4 kB / 1.122 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.911, allocations: 0 / 1.122 GB, free: 0.7773 MB / 0.8731 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.000681/0.9117, allocations: 0.5114 MB / 1.123 GB, free: 224 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.9118, allocations: 15.97 kB / 1.123 GB, free: 208 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.9121, allocations: 39.7 kB / 1.123 GB, free: 168 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.9125, allocations: 254.6 kB / 1.123 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.9126, allocations: 131.4 kB / 1.123 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.9127, allocations: 28 kB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.9132, allocations: 294.8 kB / 1.123 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.9132, allocations: 7.938 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.9132, allocations: 12 kB / 1.123 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.9133, allocations: 4 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.9136, allocations: 164.6 kB / 1.124 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.9151, allocations: 1.579 MB / 1.125 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.9152, allocations: 169.1 kB / 1.125 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.9153, allocations: 84.12 kB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.9153, allocations: 75.28 kB / 1.125 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.9154, allocations: 109.8 kB / 1.126 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.9154, allocations: 4 kB / 1.126 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001398/0.9155, allocations: 53.36 kB / 1.126 GB, free: 13 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.9156, allocations: 130.7 kB / 1.126 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.9162, allocations: 310.6 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.9162, allocations: 25.7 kB / 1.126 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.9163, allocations: 187.1 kB / 1.126 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.759e-06/0.9164, allocations: 8 kB / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.9165, allocations: 45.61 kB / 1.126 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.9166, allocations: 334.8 kB / 1.127 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.9167, allocations: 35.97 kB / 1.127 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.9169, allocations: 162.8 kB / 1.127 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.9172, allocations: 196.9 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.9172, allocations: 4 kB / 1.127 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005032/0.9178, allocations: 217 kB / 1.127 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.9178, allocations: 12.56 kB / 1.127 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.9178, allocations: 11.94 kB / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.9178, allocations: 8 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.918, allocations: 35.92 kB / 1.127 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.918, allocations: 8 kB / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.9183, allocations: 35.58 kB / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.9183, allocations: 15.94 kB / 1.127 GB, free: 11.08 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.0001434/0.9184, allocations: 213 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.9185, allocations: 124.7 kB / 1.128 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.9186, allocations: 125.8 kB / 1.128 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-05/0.9187, allocations: 188.2 kB / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.045e-05/0.9188, allocations: 180.4 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.046e-05/0.9188, allocations: 180.3 kB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.9192, allocations: 481.1 kB / 1.129 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.584e-05/0.9192, allocations: 105 kB / 1.129 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.9193, allocations: 108.9 kB / 1.129 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.022e-05/0.9194, allocations: 188.2 kB / 1.129 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.982e-05/0.9194, allocations: 180.2 kB / 1.129 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.89e-05/0.9195, allocations: 176.3 kB / 1.129 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-05/0.9196, allocations: 184.2 kB / 1.13 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.9198, allocations: 323.6 kB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.9199, allocations: 209.7 kB / 1.13 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.92, allocations: 184.2 kB / 1.13 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.9202, allocations: 101 kB / 1.13 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.9203, allocations: 184.2 kB / 1.131 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.9203, allocations: 109 kB / 1.131 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002605/0.9206, allocations: 221.9 kB / 1.131 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9206, allocations: 0 / 1.131 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004168/0.921, allocations: 51.94 kB / 1.131 GB, free: 7.125 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.0004102/0.9214, allocations: 206.5 kB / 1.131 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.9217, allocations: 76.97 kB / 1.131 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.9217, allocations: 4.062 kB / 1.131 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-06/0.9217, allocations: 3.938 kB / 1.131 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.9223, allocations: 0.548 MB / 1.132 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/0.9229, allocations: 485.3 kB / 1.132 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.9233, allocations: 0.7436 MB / 1.133 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.9234, allocations: 19.44 kB / 1.133 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of SimCode: time 9.22e-07/0.9234, allocations: 0 / 1.133 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of Templates: time 0.005744/0.9291, allocations: 2.816 MB / 1.136 GB, free: 2.172 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (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 & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/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