Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001841/0.001841, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.00199/0.00199, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9932/0.9948, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2707/1.266, allocations: 249 MB / 1.41 GB, free: 9.992 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02677/1.292, allocations: 22.28 MB / 1.432 GB, free: 3.645 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/1.295, allocations: 59.69 kB / 1.432 GB, free: 3.586 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002935/1.298, allocations: 0.9781 MB / 1.433 GB, free: 2.602 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005028/1.303, allocations: 1.533 MB / 1.435 GB, free: 1.062 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006026/1.309, allocations: 1.949 MB / 1.437 GB, free: 15.12 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004526/1.313, allocations: 2.698 MB / 1.439 GB, free: 12.41 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/1.315, allocations: 1.32 MB / 1.441 GB, free: 11.05 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/1.319, allocations: 1.366 MB / 1.442 GB, free: 9.68 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/1.321, allocations: 0.9144 MB / 1.443 GB, free: 8.762 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000356/1.321, allocations: 112 kB / 1.443 GB, free: 8.652 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/1.326, allocations: 1.691 MB / 1.445 GB, free: 6.957 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006298/1.326, allocations: 374.9 kB / 1.445 GB, free: 6.59 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/1.327, allocations: 0.6337 MB / 1.446 GB, free: 5.953 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004251/1.332, allocations: 2.274 MB / 1.448 GB, free: 3.672 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.332, allocations: 0 / 1.448 GB, free: 3.672 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.066e-06/1.332, allocations: 0 / 1.448 GB, free: 3.672 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.616e-05/1.332, allocations: 7.938 kB / 1.448 GB, free: 3.664 MB / 1.17 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.002087/1.334, allocations: 1.472 MB / 1.449 GB, free: 2.141 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 7.48e-05/1.334, allocations: 8.922 kB / 1.449 GB, free: 2.133 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/1.335, allocations: 234.4 kB / 1.449 GB, free: 1.902 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/1.337, allocations: 0.9116 MB / 1.45 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/1.337, allocations: 192.7 kB / 1.45 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/1.337, allocations: 91.94 kB / 1.451 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/1.338, allocations: 0.9401 MB / 1.451 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/1.338, allocations: 0 / 1.451 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/1.338, allocations: 36 kB / 1.452 GB, free: 15.63 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/1.339, allocations: 20 kB / 1.452 GB, free: 15.61 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.34, allocations: 0.6285 MB / 1.452 GB, free: 14.99 MB / 1.186 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.004566/1.344, allocations: 4.423 MB / 1.456 GB, free: 10.16 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/1.345, allocations: 186.7 kB / 1.457 GB, free: 9.973 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/1.345, allocations: 144.8 kB / 1.457 GB, free: 9.828 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.346, allocations: 1.021 MB / 1.458 GB, free: 8.586 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/1.346, allocations: 38.56 kB / 1.458 GB, free: 8.539 MB / 1.186 GB Notification: Performance of pre-optimization done (n=24): time 2.305e-06/1.346, allocations: 0 / 1.458 GB, free: 8.539 MB / 1.186 GB Notification: Performance of matching and sorting (n=24): time 0.001054/1.347, allocations: 470 kB / 1.458 GB, free: 8.074 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/1.347, allocations: 59.41 kB / 1.458 GB, free: 8.004 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/1.348, allocations: 1.106 MB / 1.459 GB, free: 6.883 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/1.348, allocations: 37.69 kB / 1.459 GB, free: 6.84 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/1.349, allocations: 0.5001 MB / 1.46 GB, free: 6.336 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/1.349, allocations: 90.73 kB / 1.46 GB, free: 6.246 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/1.349, allocations: 94.03 kB / 1.46 GB, free: 6.148 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.349, allocations: 333.9 kB / 1.46 GB, free: 5.816 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/1.349, allocations: 132.8 kB / 1.461 GB, free: 5.684 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/1.35, allocations: 379 kB / 1.461 GB, free: 5.207 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/1.35, allocations: 471.5 kB / 1.461 GB, free: 4.66 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.35, allocations: 4 kB / 1.461 GB, free: 4.656 MB / 1.186 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009016/1.351, allocations: 0.5355 MB / 1.462 GB, free: 4.113 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.351, allocations: 8.031 kB / 1.462 GB, free: 4.105 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.351, allocations: 11.94 kB / 1.462 GB, free: 4.094 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.351, allocations: 8 kB / 1.462 GB, free: 4.086 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/1.352, allocations: 91.83 kB / 1.462 GB, free: 3.996 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/1.352, allocations: 11.94 kB / 1.462 GB, free: 3.984 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/1.353, allocations: 98.94 kB / 1.462 GB, free: 3.887 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/1.353, allocations: 27.98 kB / 1.462 GB, free: 3.859 MB / 1.186 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.0004306/1.353, allocations: 281.7 kB / 1.462 GB, free: 3.574 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/1.353, allocations: 103.1 kB / 1.463 GB, free: 3.473 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000838/1.354, allocations: 434.3 kB / 1.463 GB, free: 3.035 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/1.354, allocations: 3.984 kB / 1.463 GB, free: 3.031 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.354, allocations: 0 / 1.463 GB, free: 3.031 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/1.355, allocations: 227.7 kB / 1.463 GB, free: 2.789 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/1.355, allocations: 12 kB / 1.463 GB, free: 2.777 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/1.355, allocations: 11.92 kB / 1.463 GB, free: 2.766 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/1.355, allocations: 15.98 kB / 1.463 GB, free: 2.75 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00056/1.356, allocations: 361.3 kB / 1.464 GB, free: 2.391 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000557/1.356, allocations: 0.5282 MB / 1.464 GB, free: 1.848 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001589/1.356, allocations: 110.2 kB / 1.464 GB, free: 1.742 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001002/1.357, allocations: 0.782 MB / 1.465 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of Backend: time 7.41e-07/1.357, allocations: 0 / 1.465 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002039/1.359, allocations: 0.6881 MB / 1.466 GB, free: 276 kB / 1.186 GB Notification: Performance of SimCode: time 0.00389/1.363, allocations: 2.308 MB / 1.468 GB, free: 13.91 MB / 1.201 GB Notification: Performance of Templates: time 0.0356/1.399, allocations: 21.33 MB / 1.489 GB, free: 8.777 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches