Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.AirToOutletFlowReversal,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.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,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.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.001748/0.001748, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003672, allocations: 12 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9296/0.93, allocations: 153.6 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2493/1.179, allocations: 205.7 MB / 1.222 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02403/1.203, allocations: 18.84 MB / 1.24 GB, free: 44 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003091/1.207, allocations: 43.69 kB / 1.24 GB, free: 0 / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003789/1.21, allocations: 0.5908 MB / 1.241 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00802/1.218, allocations: 1.499 MB / 1.242 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007073/1.226, allocations: 1.477 MB / 1.244 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007296/1.233, allocations: 1.772 MB / 1.245 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002941/1.236, allocations: 0.9305 MB / 1.246 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004292/1.24, allocations: 0.9266 MB / 1.247 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/1.242, allocations: 0.5796 MB / 1.248 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003372/1.243, allocations: 36 kB / 1.248 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/1.247, allocations: 0.8034 MB / 1.249 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008361/1.248, allocations: 263.1 kB / 1.249 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/1.249, allocations: 269.1 kB / 1.249 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003825/1.253, allocations: 1.492 MB / 1.25 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/1.253, allocations: 0 / 1.25 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.976e-06/1.253, allocations: 0 / 1.25 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.229e-05/1.253, allocations: 0 / 1.25 GB, free: 5.348 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004049/1.257, allocations: 1.219 MB / 1.252 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/1.257, allocations: 15.98 kB / 1.252 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/1.259, allocations: 226.4 kB / 1.252 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/1.261, allocations: 0.8186 MB / 1.253 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/1.262, allocations: 184.8 kB / 1.253 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/1.262, allocations: 92 kB / 1.253 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/1.264, allocations: 0.9167 MB / 1.254 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/1.264, allocations: 7.938 kB / 1.254 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/1.265, allocations: 39.95 kB / 1.254 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/1.265, allocations: 20 kB / 1.254 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/1.266, allocations: 0.6246 MB / 1.255 GB, free: 1.043 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7674/2.034, allocations: 4.423 MB / 1.259 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/2.034, allocations: 185.8 kB / 1.259 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/2.035, allocations: 0.6721 MB / 1.26 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/2.035, allocations: 33.2 kB / 1.26 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 3.035e-06/2.035, allocations: 0 / 1.26 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.00138/2.036, allocations: 460.8 kB / 1.26 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/2.036, allocations: 54.19 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/2.038, allocations: 1.103 MB / 1.261 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/2.038, allocations: 32.7 kB / 1.261 GB, free: 231 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/2.039, allocations: 0.5063 MB / 1.262 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/2.039, allocations: 93.34 kB / 1.262 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/2.039, allocations: 9.406 kB / 1.262 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/2.039, allocations: 319.2 kB / 1.262 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/2.039, allocations: 128.5 kB / 1.262 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/2.039, allocations: 397.5 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/2.04, allocations: 187 kB / 1.263 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/2.04, allocations: 2.281 kB / 1.263 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001063/2.041, allocations: 0.5325 MB / 1.263 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/2.041, allocations: 8.094 kB / 1.263 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/2.041, allocations: 14.12 kB / 1.263 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/2.041, allocations: 15.02 kB / 1.263 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/2.041, allocations: 91.48 kB / 1.264 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/2.041, allocations: 15.14 kB / 1.264 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/2.042, allocations: 129.4 kB / 1.264 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/2.043, allocations: 27.08 kB / 1.264 GB, free: 229.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004695/2.043, allocations: 284.1 kB / 1.264 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/2.043, allocations: 107.4 kB / 1.264 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007875/2.044, allocations: 420.2 kB / 1.264 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/2.044, allocations: 7 kB / 1.264 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/2.044, allocations: 1.359 kB / 1.264 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/2.044, allocations: 1.312 kB / 1.264 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/2.047, allocations: 1.511 MB / 1.266 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/2.047, allocations: 4.75 kB / 1.266 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/2.047, allocations: 40.61 kB / 1.266 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/2.047, allocations: 6.562 kB / 1.266 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/2.047, allocations: 14.53 kB / 1.266 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.7e-05/2.047, allocations: 12.3 kB / 1.266 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/2.047, allocations: 9.875 kB / 1.266 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/2.048, allocations: 0.788 MB / 1.267 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/2.048, allocations: 244 kB / 1.267 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/2.048, allocations: 14.7 kB / 1.267 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/2.049, allocations: 37.55 kB / 1.267 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/2.049, allocations: 23.97 kB / 1.267 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/2.049, allocations: 16.23 kB / 1.267 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001438/2.05, allocations: 0.7707 MB / 1.268 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/2.05, allocations: 3.625 kB / 1.268 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001246/2.052, allocations: 280.6 kB / 1.268 GB, free: 226.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006636/2.052, allocations: 300.6 kB / 1.268 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007151/2.053, allocations: 327.1 kB / 1.269 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/2.053, allocations: 1.062 kB / 1.269 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/2.053, allocations: 135.6 kB / 1.269 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/2.056, allocations: 481.2 kB / 1.269 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/2.059, allocations: 1.819 MB / 1.271 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/2.061, allocations: 1.083 MB / 1.272 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001425/2.062, allocations: 197.9 kB / 1.272 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/2.062, allocations: 65.56 kB / 1.272 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.924e-06/2.062, allocations: 0 / 1.272 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03555/2.098, allocations: 16.69 MB / 1.289 GB, free: 218 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches