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.001547/0.001547, 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.002181/0.002181, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 461.9 MB / 0.7342 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 65.08 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.404, allocations: 157.4 MB / 1.052 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.185/0.5891, allocations: 168.1 MB / 1.216 GB, free: 112 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006144/0.5953, allocations: 5.984 MB / 1.222 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.5957, allocations: 15.94 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.5962, allocations: 147.1 kB / 1.222 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.5966, allocations: 83.56 kB / 1.222 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.5978, allocations: 494.5 kB / 1.223 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.5982, allocations: 478.5 kB / 1.223 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.5985, allocations: 123.6 kB / 1.223 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.5988, allocations: 179.3 kB / 1.224 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.599, allocations: 147.4 kB / 1.224 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.599, allocations: 12 kB / 1.224 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007888/0.5998, allocations: 0.5181 MB / 1.224 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.5999, allocations: 63.81 kB / 1.224 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.6, allocations: 103.4 kB / 1.224 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.6006, allocations: 466.7 kB / 1.225 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6006, allocations: 0 / 1.225 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6006, allocations: 4 kB / 1.225 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6007, allocations: 0 / 1.225 GB, free: 7.312 MB / 0.9825 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.0005935/0.6013, allocations: 0.5146 MB / 1.225 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.6013, allocations: 12.03 kB / 1.225 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.6016, allocations: 39.7 kB / 1.225 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.6019, allocations: 254.6 kB / 1.226 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.602, allocations: 131.4 kB / 1.226 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.6021, allocations: 28 kB / 1.226 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.6025, allocations: 290.8 kB / 1.226 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.6025, allocations: 7.938 kB / 1.226 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.6026, allocations: 12 kB / 1.226 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6026, allocations: 7.984 kB / 1.226 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.6029, allocations: 160.6 kB / 1.226 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.6043, allocations: 1.583 MB / 1.228 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.6044, allocations: 169.1 kB / 1.228 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.6044, allocations: 80.14 kB / 1.228 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.6044, allocations: 79.22 kB / 1.228 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.6045, allocations: 105.8 kB / 1.228 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.6045, allocations: 4 kB / 1.228 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.908e-05/0.6046, allocations: 53.44 kB / 1.228 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.6047, allocations: 126.7 kB / 1.228 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.605, allocations: 310.5 kB / 1.229 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.605, allocations: 25.7 kB / 1.229 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.6051, allocations: 183.2 kB / 1.229 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.6052, allocations: 11.98 kB / 1.229 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.6052, allocations: 41.62 kB / 1.229 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6054, allocations: 338.8 kB / 1.229 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.6054, allocations: 35.97 kB / 1.229 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.6056, allocations: 158.5 kB / 1.229 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.6059, allocations: 192.9 kB / 1.23 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6059, allocations: 4 kB / 1.23 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004032/0.6063, allocations: 217 kB / 1.23 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6063, allocations: 9.969 kB / 1.23 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6063, allocations: 8 kB / 1.23 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.6063, allocations: 12 kB / 1.23 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.6065, allocations: 39.92 kB / 1.23 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.6065, allocations: 15.92 kB / 1.23 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.6067, allocations: 31.53 kB / 1.23 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.6067, allocations: 16 kB / 1.23 GB, free: 1.629 MB / 0.9825 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.0001469/0.6069, allocations: 217 kB / 1.23 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.607, allocations: 124.7 kB / 1.23 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.765e-05/0.6071, allocations: 121.8 kB / 1.23 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.64e-05/0.6071, allocations: 184.2 kB / 1.231 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.826e-05/0.6072, allocations: 180.3 kB / 1.231 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.778e-05/0.6073, allocations: 184.2 kB / 1.231 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.6076, allocations: 477.1 kB / 1.231 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.945e-05/0.6076, allocations: 105 kB / 1.231 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.6077, allocations: 112.9 kB / 1.232 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.849e-05/0.6078, allocations: 180.2 kB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/0.6078, allocations: 184.2 kB / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.653e-05/0.6079, allocations: 176.3 kB / 1.232 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.345e-05/0.6079, allocations: 184.4 kB / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.6081, allocations: 327.5 kB / 1.233 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.6082, allocations: 205.8 kB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.6083, allocations: 184.2 kB / 1.233 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.6085, allocations: 101 kB / 1.233 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.6085, allocations: 188.2 kB / 1.233 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.6086, allocations: 101 kB / 1.233 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002374/0.6088, allocations: 221.9 kB / 1.233 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6088, allocations: 0 / 1.233 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003877/0.6092, allocations: 51.94 kB / 1.234 GB, free: 13.68 MB / 0.9981 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.0004321/0.6096, allocations: 214.4 kB / 1.234 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.6099, allocations: 80.97 kB / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6099, allocations: 8 kB / 1.234 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.6099, allocations: 0 / 1.234 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.6104, allocations: 0.5501 MB / 1.234 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.611, allocations: 457.9 kB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.6113, allocations: 0.7398 MB / 1.236 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.6114, allocations: 33.88 kB / 1.236 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.6114, allocations: 19.44 kB / 1.236 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.6115, allocations: 0 / 1.236 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.00487/0.6163, allocations: 1.767 MB / 1.237 GB, free: 9.77 MB / 0.9981 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