Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 101.8 kB / 16.27 MB, free: 6.414 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.001553/0.001553, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.289/2.289, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.03 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8277/1.101, allocations: 304.4 MB / 1.248 GB, free: 11.56 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03128/1.132, allocations: 25.61 MB / 1.273 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003744/1.136, allocations: 76.22 kB / 1.273 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004264/1.14, allocations: 1.417 MB / 1.274 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00789/1.148, allocations: 2.897 MB / 1.277 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006361/1.155, allocations: 2.616 MB / 1.279 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00631/1.161, allocations: 4.341 MB / 1.284 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/1.164, allocations: 1.783 MB / 1.285 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00541/1.17, allocations: 2.25 MB / 1.288 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/1.173, allocations: 1.273 MB / 1.289 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007579/1.174, allocations: 200 kB / 1.289 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00676/1.18, allocations: 3.032 MB / 1.292 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/1.181, allocations: 0.6193 MB / 1.293 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002148/1.184, allocations: 1.058 MB / 1.294 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008176/1.192, allocations: 4.18 MB / 1.298 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.192, allocations: 3.938 kB / 1.298 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/1.192, allocations: 4 kB / 1.298 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001038/1.192, allocations: 0 / 1.298 GB, free: 13.54 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.005818/1.198, allocations: 2.296 MB / 1.3 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.198, allocations: 8.031 kB / 1.3 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/1.203, allocations: 0.6767 MB / 1.301 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/1.208, allocations: 1.967 MB / 1.303 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006985/1.208, allocations: 198 kB / 1.303 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003527/1.209, allocations: 108 kB / 1.303 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/1.212, allocations: 1.463 MB / 1.304 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/1.212, allocations: 7.938 kB / 1.304 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.212, allocations: 44 kB / 1.304 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/1.212, allocations: 38 kB / 1.304 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/1.216, allocations: 1.128 MB / 1.305 GB, free: 5.352 MB / 0.9669 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.01066/1.226, allocations: 7.566 MB / 1.313 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/1.228, allocations: 471.6 kB / 1.313 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/1.229, allocations: 152.8 kB / 1.313 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/1.229, allocations: 194.2 kB / 1.314 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.229, allocations: 34.56 kB / 1.314 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/1.229, allocations: 0 / 1.314 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.002185/1.231, allocations: 0.594 MB / 1.314 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/1.231, allocations: 55.41 kB / 1.314 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/1.235, allocations: 1.759 MB / 1.316 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-05/1.235, allocations: 33.7 kB / 1.316 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007828/1.235, allocations: 0.8484 MB / 1.317 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/1.236, allocations: 71.03 kB / 1.317 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/1.236, allocations: 178.4 kB / 1.317 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.236, allocations: 337.9 kB / 1.317 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/1.237, allocations: 324.6 kB / 1.318 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/1.238, allocations: 0.7271 MB / 1.318 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/1.24, allocations: 0.9263 MB / 1.319 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/1.24, allocations: 4 kB / 1.319 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002969/1.243, allocations: 1.128 MB / 1.32 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.243, allocations: 12 kB / 1.32 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/1.243, allocations: 12 kB / 1.32 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/1.243, allocations: 23.94 kB / 1.321 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/1.244, allocations: 212.2 kB / 1.321 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.35e-05/1.244, allocations: 28.72 kB / 1.321 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/1.246, allocations: 227.1 kB / 1.321 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.256e-05/1.246, allocations: 48 kB / 1.321 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001618/1.248, allocations: 0.6561 MB / 1.322 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001354/1.249, allocations: 0.6882 MB / 1.322 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001702/1.251, allocations: 0.8736 MB / 1.323 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.118e-05/1.251, allocations: 4 kB / 1.323 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002676/1.253, allocations: 1.054 MB / 1.324 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.254, allocations: 8 kB / 1.324 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.254, allocations: 16 kB / 1.324 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.254, allocations: 16 kB / 1.324 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/1.254, allocations: 212 kB / 1.324 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/1.254, allocations: 24.78 kB / 1.324 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.256, allocations: 160.1 kB / 1.325 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/1.256, allocations: 47.98 kB / 1.325 GB, free: 328 kB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (88): * Single equations (assignments): 87 * Array equations: 1 * 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.0002736/1.256, allocations: 231.9 kB / 1.325 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/1.257, allocations: 162.1 kB / 1.325 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.258, allocations: 479.9 kB / 1.325 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/1.258, allocations: 4 kB / 1.325 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.258, allocations: 0 / 1.325 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.258, allocations: 0 / 1.325 GB, free: 15.45 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 postOpt removeSimpleEquations (simulation): time 0.003465/1.262, allocations: 1.619 MB / 1.327 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.262, allocations: 7.984 kB / 1.327 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/1.262, allocations: 68.08 kB / 1.327 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.262, allocations: 4 kB / 1.327 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.262, allocations: 7.984 kB / 1.327 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/1.262, allocations: 4 kB / 1.327 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.262, allocations: 4 kB / 1.327 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/1.264, allocations: 0.6026 MB / 1.328 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/1.264, allocations: 294.9 kB / 1.328 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/1.264, allocations: 11.98 kB / 1.328 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009852/1.265, allocations: 63.94 kB / 1.328 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/1.265, allocations: 19.92 kB / 1.328 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/1.266, allocations: 27.91 kB / 1.328 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002319/1.268, allocations: 1.226 MB / 1.329 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.268, allocations: 0 / 1.329 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002416/1.27, allocations: 0.6552 MB / 1.33 GB, free: 10.65 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (19): * Single equations (assignments): 19 * 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.0007975/1.271, allocations: 303.1 kB / 1.33 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003231/1.274, allocations: 1.039 MB / 1.331 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.274, allocations: 4 kB / 1.331 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005994/1.275, allocations: 153.5 kB / 1.331 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/1.279, allocations: 0.8599 MB / 1.332 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/1.284, allocations: 2.518 MB / 1.335 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.285, allocations: 1.283 MB / 1.336 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/1.285, allocations: 127.3 kB / 1.336 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.285, allocations: 0 / 1.336 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of Templates: time 0.04234/1.328, allocations: 27.45 MB / 1.363 GB, free: 9.027 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches