Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008109/0.008109, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001649/0.001649, allocations: 195.6 kB / 16.67 MB, free: 5.926 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.843/2.843, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3819, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 1.023/1.405, allocations: 170.3 MB / 1.374 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01385/1.419, allocations: 6.006 MB / 1.38 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007004/1.42, allocations: 11.09 kB / 1.38 GB, free: 10.53 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/1.421, allocations: 178.4 kB / 1.38 GB, free: 10.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008324/1.422, allocations: 93.66 kB / 1.38 GB, free: 10.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/1.425, allocations: 0.5147 MB / 1.381 GB, free: 9.934 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001059/1.426, allocations: 420.5 kB / 1.381 GB, free: 9.691 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004987/1.427, allocations: 134.7 kB / 1.381 GB, free: 9.613 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/1.427, allocations: 190.5 kB / 1.381 GB, free: 9.504 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/1.428, allocations: 154.7 kB / 1.382 GB, free: 9.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/1.428, allocations: 16.09 kB / 1.382 GB, free: 9.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/1.43, allocations: 451.6 kB / 1.382 GB, free: 9.164 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/1.43, allocations: 73.12 kB / 1.382 GB, free: 9.113 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002689/1.43, allocations: 108.5 kB / 1.382 GB, free: 9.039 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/1.432, allocations: 449.7 kB / 1.383 GB, free: 8.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.432, allocations: 3.938 kB / 1.383 GB, free: 8.766 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.294e-06/1.432, allocations: 0 / 1.383 GB, free: 8.766 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.599e-05/1.432, allocations: 0 / 1.383 GB, free: 8.766 MB / 1.076 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.001254/1.433, allocations: 0.5215 MB / 1.383 GB, free: 8.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.433, allocations: 9.375 kB / 1.383 GB, free: 8.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/1.434, allocations: 45.86 kB / 1.383 GB, free: 8.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/1.434, allocations: 257.8 kB / 1.383 GB, free: 7.992 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/1.434, allocations: 136.6 kB / 1.384 GB, free: 7.852 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/1.435, allocations: 17.78 kB / 1.384 GB, free: 7.848 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007692/1.435, allocations: 299 kB / 1.384 GB, free: 7.609 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/1.435, allocations: 1.062 kB / 1.384 GB, free: 7.609 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/1.435, allocations: 11.28 kB / 1.384 GB, free: 7.602 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/1.435, allocations: 9.656 kB / 1.384 GB, free: 7.598 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005781/1.436, allocations: 159.3 kB / 1.384 GB, free: 7.523 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/1.439, allocations: 1.577 MB / 1.386 GB, free: 6.004 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/1.439, allocations: 174.6 kB / 1.386 GB, free: 5.824 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.509e-05/1.439, allocations: 80.14 kB / 1.386 GB, free: 5.742 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/1.439, allocations: 79.22 kB / 1.386 GB, free: 5.664 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.917e-05/1.439, allocations: 107.2 kB / 1.386 GB, free: 5.551 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 4.859e-06/1.439, allocations: 0 / 1.386 GB, free: 5.551 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001602/1.439, allocations: 49.86 kB / 1.386 GB, free: 5.504 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/1.439, allocations: 136 kB / 1.386 GB, free: 5.359 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/1.44, allocations: 310.4 kB / 1.386 GB, free: 5.148 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/1.44, allocations: 26.86 kB / 1.386 GB, free: 5.117 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/1.44, allocations: 193.7 kB / 1.387 GB, free: 4.938 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/1.44, allocations: 5.141 kB / 1.387 GB, free: 4.934 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/1.44, allocations: 37.09 kB / 1.387 GB, free: 4.906 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.44, allocations: 331.2 kB / 1.387 GB, free: 4.578 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/1.441, allocations: 40.94 kB / 1.387 GB, free: 4.559 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/1.441, allocations: 161.8 kB / 1.387 GB, free: 4.367 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/1.441, allocations: 202 kB / 1.387 GB, free: 4.148 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.441, allocations: 1.5 kB / 1.387 GB, free: 4.148 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007628/1.442, allocations: 221.4 kB / 1.388 GB, free: 4.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.442, allocations: 6.562 kB / 1.388 GB, free: 4.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/1.442, allocations: 8.188 kB / 1.388 GB, free: 4.016 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/1.442, allocations: 6.688 kB / 1.388 GB, free: 4.016 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/1.443, allocations: 37.17 kB / 1.388 GB, free: 4.008 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/1.443, allocations: 13.61 kB / 1.388 GB, free: 4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/1.443, allocations: 36.41 kB / 1.388 GB, free: 3.977 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/1.443, allocations: 9.75 kB / 1.388 GB, free: 3.977 MB / 1.076 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.0002133/1.443, allocations: 214.6 kB / 1.388 GB, free: 3.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.443, allocations: 130.8 kB / 1.388 GB, free: 3.645 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/1.444, allocations: 124.6 kB / 1.388 GB, free: 3.527 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/1.444, allocations: 181.5 kB / 1.388 GB, free: 3.344 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001177/1.444, allocations: 181.5 kB / 1.389 GB, free: 3.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/1.444, allocations: 180.2 kB / 1.389 GB, free: 2.977 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/1.445, allocations: 481.5 kB / 1.389 GB, free: 2.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.313e-05/1.445, allocations: 102.5 kB / 1.389 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/1.445, allocations: 109.1 kB / 1.389 GB, free: 2.262 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.995e-05/1.445, allocations: 185.4 kB / 1.39 GB, free: 2.074 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/1.445, allocations: 185.2 kB / 1.39 GB, free: 1.887 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.803e-05/1.445, allocations: 177.4 kB / 1.39 GB, free: 1.707 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.196e-05/1.445, allocations: 177.5 kB / 1.39 GB, free: 1.527 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/1.445, allocations: 331.6 kB / 1.39 GB, free: 1.191 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/1.446, allocations: 205.7 kB / 1.391 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/1.446, allocations: 185.7 kB / 1.391 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/1.446, allocations: 104.9 kB / 1.391 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.446, allocations: 185.2 kB / 1.391 GB, free: 500 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/1.446, allocations: 107.5 kB / 1.391 GB, free: 388 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004459/1.447, allocations: 221 kB / 1.391 GB, free: 240 kB / 1.076 GB Notification: Performance of sort global known variables: time 3.51e-07/1.447, allocations: 0 / 1.391 GB, free: 240 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007056/1.447, allocations: 58.81 kB / 1.391 GB, free: 224 kB / 1.076 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.0004363/1.448, allocations: 205.3 kB / 1.392 GB, free: 44 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003766/1.448, allocations: 80.38 kB / 1.392 GB, free: 8 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.448, allocations: 5.188 kB / 1.392 GB, free: 4 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/1.448, allocations: 0 / 1.392 GB, free: 4 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/1.449, allocations: 495.5 kB / 1.392 GB, free: 15.53 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/1.45, allocations: 383.5 kB / 1.393 GB, free: 15.23 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/1.451, allocations: 0.7425 MB / 1.393 GB, free: 14.5 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002284/1.451, allocations: 35.7 kB / 1.393 GB, free: 14.48 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/1.451, allocations: 17.38 kB / 1.393 GB, free: 14.47 MB / 1.092 GB Notification: Performance of SimCode: time 4.41e-07/1.451, allocations: 0 / 1.393 GB, free: 14.47 MB / 1.092 GB Notification: Performance of Templates: time 0.009487/1.461, allocations: 1.85 MB / 1.395 GB, free: 13.55 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches