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.001705/0.001705, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.573/2.573, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.89 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9476/0.9491, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3554/1.305, allocations: 304.4 MB / 1.247 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8651/2.17, allocations: 25.58 MB / 1.272 GB, free: 25.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004688/2.174, allocations: 77.84 kB / 1.272 GB, free: 25.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/2.18, allocations: 1.418 MB / 1.273 GB, free: 25.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009771/2.189, allocations: 2.897 MB / 1.276 GB, free: 25.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008479/2.198, allocations: 2.623 MB / 1.279 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008948/2.207, allocations: 4.334 MB / 1.283 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003493/2.21, allocations: 1.79 MB / 1.285 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007188/2.218, allocations: 2.244 MB / 1.287 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0041/2.222, allocations: 1.275 MB / 1.288 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007162/2.223, allocations: 203.5 kB / 1.288 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008592/2.231, allocations: 3.031 MB / 1.291 GB, free: 24.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001316/2.232, allocations: 0.6203 MB / 1.292 GB, free: 24.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002469/2.235, allocations: 1.063 MB / 1.293 GB, free: 24.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/2.246, allocations: 4.175 MB / 1.297 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/2.246, allocations: 3.188 kB / 1.297 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.228e-06/2.246, allocations: 3.094 kB / 1.297 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.595e-05/2.246, allocations: 0 / 1.297 GB, free: 24.76 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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.006329/2.252, allocations: 2.297 MB / 1.299 GB, free: 23.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/2.252, allocations: 11.19 kB / 1.299 GB, free: 23.58 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/2.257, allocations: 0.6795 MB / 1.3 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/2.264, allocations: 1.967 MB / 1.302 GB, free: 23.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007237/2.264, allocations: 197.9 kB / 1.302 GB, free: 23.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/2.265, allocations: 110.6 kB / 1.302 GB, free: 23.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/2.268, allocations: 1.455 MB / 1.304 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/2.268, allocations: 7.219 kB / 1.304 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/2.268, allocations: 51.03 kB / 1.304 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/2.269, allocations: 41.61 kB / 1.304 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/2.271, allocations: 1.127 MB / 1.305 GB, free: 22.65 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.01052/2.282, allocations: 7.562 MB / 1.312 GB, free: 18.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/2.284, allocations: 478.3 kB / 1.313 GB, free: 18.11 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/2.284, allocations: 152.9 kB / 1.313 GB, free: 18.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/2.285, allocations: 189.4 kB / 1.313 GB, free: 17.92 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/2.285, allocations: 36.16 kB / 1.313 GB, free: 17.88 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.455e-06/2.285, allocations: 0 / 1.313 GB, free: 17.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.002136/2.287, allocations: 0.5884 MB / 1.314 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/2.287, allocations: 56.5 kB / 1.314 GB, free: 17.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/2.29, allocations: 1.763 MB / 1.315 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/2.29, allocations: 34.39 kB / 1.315 GB, free: 17.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006781/2.291, allocations: 0.8414 MB / 1.316 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/2.291, allocations: 82.7 kB / 1.316 GB, free: 17.08 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/2.291, allocations: 173 kB / 1.316 GB, free: 17.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/2.291, allocations: 335.9 kB / 1.317 GB, free: 16.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009776/2.292, allocations: 323.8 kB / 1.317 GB, free: 16.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/2.293, allocations: 0.7285 MB / 1.318 GB, free: 16.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/2.295, allocations: 0.9354 MB / 1.319 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/2.295, allocations: 3.406 kB / 1.319 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002853/2.298, allocations: 1.118 MB / 1.32 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/2.298, allocations: 10.03 kB / 1.32 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/2.298, allocations: 13.72 kB / 1.32 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/2.298, allocations: 21.38 kB / 1.32 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/2.299, allocations: 217.6 kB / 1.32 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.059e-05/2.299, allocations: 28.22 kB / 1.32 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/2.301, allocations: 229.6 kB / 1.32 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/2.301, allocations: 48.69 kB / 1.32 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001753/2.303, allocations: 0.6523 MB / 1.321 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009472/2.303, allocations: 0.6903 MB / 1.322 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001342/2.305, allocations: 0.8787 MB / 1.322 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.701e-06/2.305, allocations: 2.938 kB / 1.322 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002538/2.307, allocations: 1.051 MB / 1.323 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/2.307, allocations: 11.5 kB / 1.324 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/2.307, allocations: 14.47 kB / 1.324 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/2.308, allocations: 18.22 kB / 1.324 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/2.308, allocations: 208.5 kB / 1.324 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.83e-05/2.308, allocations: 26.17 kB / 1.324 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/2.31, allocations: 156.7 kB / 1.324 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-05/2.31, allocations: 48.58 kB / 1.324 GB, free: 14.1 MB / 0.9981 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.0002985/2.31, allocations: 234.7 kB / 1.324 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/2.311, allocations: 159.3 kB / 1.324 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/2.312, allocations: 478.7 kB / 1.325 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/2.312, allocations: 2.281 kB / 1.325 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/2.312, allocations: 0 / 1.325 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/2.312, allocations: 14.91 kB / 1.325 GB, free: 13.74 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.003214/2.315, allocations: 1.61 MB / 1.326 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/2.316, allocations: 4 kB / 1.326 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/2.316, allocations: 63.64 kB / 1.326 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/2.316, allocations: 6.781 kB / 1.326 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/2.316, allocations: 10.7 kB / 1.326 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/2.316, allocations: 2.344 kB / 1.326 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.316, allocations: 5.844 kB / 1.326 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/2.317, allocations: 0.6071 MB / 1.327 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/2.318, allocations: 293.8 kB / 1.327 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/2.318, allocations: 8.219 kB / 1.327 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008767/2.319, allocations: 67.02 kB / 1.327 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/2.319, allocations: 20.58 kB / 1.327 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/2.319, allocations: 23.02 kB / 1.327 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00201/2.321, allocations: 1.222 MB / 1.329 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/2.321, allocations: 0 / 1.329 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002381/2.323, allocations: 0.663 MB / 1.329 GB, free: 12.55 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.0006676/2.324, allocations: 298.7 kB / 1.33 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002823/2.327, allocations: 1.047 MB / 1.331 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/2.327, allocations: 0 / 1.331 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004631/2.327, allocations: 156.2 kB / 1.331 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/2.331, allocations: 0.863 MB / 1.332 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/2.335, allocations: 2.422 MB / 1.334 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/2.336, allocations: 1.287 MB / 1.335 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001967/2.338, allocations: 366.9 kB / 1.336 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/2.339, allocations: 113.5 kB / 1.336 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/2.339, allocations: 0 / 1.336 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.05466/2.393, allocations: 29.44 MB / 1.364 GB, free: 11.82 MB / 1.014 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/jenkins/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