Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001911/0.001911, allocations: 108.3 kB / 15.99 MB, free: 5.91 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.002489/0.002489, allocations: 193.7 kB / 16.91 MB, free: 5.754 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 13.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 66.67 kB / 0.8127 GB, free: 32.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3226, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8582/1.181, allocations: 246 MB / 1.19 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02517/1.206, allocations: 22.08 MB / 1.212 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/1.209, allocations: 48.31 kB / 1.212 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00355/1.212, allocations: 0.8439 MB / 1.212 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005167/1.218, allocations: 1.388 MB / 1.214 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00541/1.223, allocations: 1.78 MB / 1.216 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004007/1.227, allocations: 2.702 MB / 1.218 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/1.229, allocations: 1.3 MB / 1.219 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/1.232, allocations: 1.348 MB / 1.221 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/1.234, allocations: 0.9502 MB / 1.222 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004084/1.235, allocations: 106.6 kB / 1.222 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004298/1.239, allocations: 1.724 MB / 1.223 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006433/1.24, allocations: 381.3 kB / 1.224 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/1.241, allocations: 0.6422 MB / 1.224 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/1.244, allocations: 1.734 MB / 1.226 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.244, allocations: 0 / 1.226 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.124e-06/1.244, allocations: 4 kB / 1.226 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.797e-05/1.244, allocations: 0 / 1.226 GB, free: 15.89 MB / 0.9044 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.003119/1.247, allocations: 1.465 MB / 1.228 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.247, allocations: 9.469 kB / 1.228 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/1.248, allocations: 240.7 kB / 1.228 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.25, allocations: 0.8412 MB / 1.229 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/1.25, allocations: 182.5 kB / 1.229 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/1.25, allocations: 94.41 kB / 1.229 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/1.252, allocations: 0.9326 MB / 1.23 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.252, allocations: 3.938 kB / 1.23 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/1.252, allocations: 34.69 kB / 1.23 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/1.252, allocations: 22.12 kB / 1.23 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.253, allocations: 0.6316 MB / 1.23 GB, free: 12.82 MB / 0.9044 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.004763/1.258, allocations: 4.446 MB / 1.235 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/1.258, allocations: 186.1 kB / 1.235 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/1.259, allocations: 151.2 kB / 1.235 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.26, allocations: 1.027 MB / 1.236 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/1.26, allocations: 34.55 kB / 1.236 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 2.234e-06/1.26, allocations: 0 / 1.236 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001092/1.261, allocations: 471.5 kB / 1.237 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/1.261, allocations: 54.22 kB / 1.237 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/1.262, allocations: 1.113 MB / 1.238 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/1.262, allocations: 34.02 kB / 1.238 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/1.263, allocations: 0.5033 MB / 1.238 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/1.263, allocations: 87.73 kB / 1.238 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/1.263, allocations: 97.88 kB / 1.238 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.263, allocations: 330.7 kB / 1.239 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.263, allocations: 127.8 kB / 1.239 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/1.264, allocations: 382.3 kB / 1.239 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/1.264, allocations: 469.8 kB / 1.24 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.264, allocations: 1.812 kB / 1.24 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009762/1.265, allocations: 0.5355 MB / 1.24 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.265, allocations: 8 kB / 1.24 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.265, allocations: 10.78 kB / 1.24 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.265, allocations: 8.188 kB / 1.24 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/1.266, allocations: 87.67 kB / 1.24 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/1.266, allocations: 17.94 kB / 1.24 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/1.267, allocations: 129.4 kB / 1.24 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/1.267, allocations: 28.14 kB / 1.241 GB, free: 4.223 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004238/1.267, allocations: 285.9 kB / 1.241 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/1.267, allocations: 102.5 kB / 1.241 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/1.268, allocations: 435 kB / 1.241 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.268, allocations: 2.094 kB / 1.241 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.268, allocations: 0 / 1.241 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.268, allocations: 3.984 kB / 1.241 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/1.27, allocations: 1.548 MB / 1.243 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.27, allocations: 2.594 kB / 1.243 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/1.271, allocations: 40.73 kB / 1.243 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/1.271, allocations: 15.47 kB / 1.243 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/1.271, allocations: 8.938 kB / 1.243 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/1.271, allocations: 15.2 kB / 1.243 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.271, allocations: 2.562 kB / 1.243 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/1.271, allocations: 0.5792 MB / 1.243 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/1.272, allocations: 247 kB / 1.244 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.272, allocations: 5.25 kB / 1.244 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005623/1.273, allocations: 29.78 kB / 1.244 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/1.273, allocations: 29.95 kB / 1.244 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/1.273, allocations: 16.25 kB / 1.244 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001105/1.274, allocations: 0.7811 MB / 1.245 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/1.274, allocations: 0 / 1.245 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009939/1.275, allocations: 282.5 kB / 1.245 GB, free: 1.238 MB / 0.9044 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 (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.0007713/1.276, allocations: 329.5 kB / 1.245 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007068/1.276, allocations: 347.2 kB / 1.245 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.276, allocations: 1.188 kB / 1.245 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/1.277, allocations: 143.7 kB / 1.246 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.279, allocations: 0.5227 MB / 1.246 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/1.282, allocations: 1.968 MB / 1.248 GB, free: 15.1 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/1.282, allocations: 1.064 MB / 1.249 GB, free: 14.1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/1.283, allocations: 71.42 kB / 1.249 GB, free: 14.03 MB / 0.92 GB Notification: Performance of SimCode: time 5.91e-07/1.283, allocations: 0 / 1.249 GB, free: 14.03 MB / 0.92 GB Notification: Performance of Templates: time 0.02509/1.308, allocations: 17.09 MB / 1.266 GB, free: 13.07 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches