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.0008983/0.0008982, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.006412/0.006412, allocations: 175.8 kB / 16.27 MB, free: 6.613 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.48/1.48, allocations: 223.2 MB / 240.3 MB, free: 5.348 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.493/2.493, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004269, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9687/0.9692, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3373/1.306, allocations: 298.5 MB / 1.247 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8924/2.199, allocations: 25.44 MB / 1.271 GB, free: 25.53 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00406/2.203, allocations: 68.44 kB / 1.271 GB, free: 25.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004927/2.208, allocations: 1.2 MB / 1.273 GB, free: 25.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009862/2.218, allocations: 2.695 MB / 1.275 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008228/2.226, allocations: 2.369 MB / 1.278 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01197/2.238, allocations: 5.631 MB / 1.283 GB, free: 25.35 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004056/2.242, allocations: 1.418 MB / 1.284 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006499/2.249, allocations: 1.885 MB / 1.286 GB, free: 25.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004251/2.253, allocations: 1.22 MB / 1.287 GB, free: 25.08 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005567/2.254, allocations: 61.03 kB / 1.288 GB, free: 25.08 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007849/2.261, allocations: 3.258 MB / 1.291 GB, free: 25.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/2.263, allocations: 488.4 kB / 1.291 GB, free: 25.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002126/2.265, allocations: 0.9152 MB / 1.292 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009061/2.274, allocations: 4.22 MB / 1.296 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/2.274, allocations: 0 / 1.296 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.298e-06/2.274, allocations: 0 / 1.296 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.82e-05/2.274, allocations: 3.094 kB / 1.296 GB, free: 24.81 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.004573/2.279, allocations: 1.931 MB / 1.298 GB, free: 23.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/2.279, allocations: 16.28 kB / 1.298 GB, free: 23.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004341/2.283, allocations: 0.7081 MB / 1.299 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/2.287, allocations: 1.974 MB / 1.301 GB, free: 23.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006542/2.287, allocations: 227 kB / 1.301 GB, free: 23.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/2.288, allocations: 105 kB / 1.301 GB, free: 23.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/2.291, allocations: 1.447 MB / 1.302 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/2.291, allocations: 6.312 kB / 1.302 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/2.291, allocations: 44.59 kB / 1.303 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/2.291, allocations: 40.31 kB / 1.303 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/2.294, allocations: 1.177 MB / 1.304 GB, free: 22.73 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.008656/2.302, allocations: 6.995 MB / 1.311 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/2.304, allocations: 439.3 kB / 1.311 GB, free: 18.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/2.305, allocations: 163.7 kB / 1.311 GB, free: 18.88 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/2.305, allocations: 191.2 kB / 1.311 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/2.305, allocations: 33.66 kB / 1.311 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007004/2.306, allocations: 76.25 kB / 1.311 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.475e-06/2.306, allocations: 0 / 1.311 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001902/2.308, allocations: 0.6327 MB / 1.312 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/2.308, allocations: 56.59 kB / 1.312 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/2.31, allocations: 1.731 MB / 1.314 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/2.31, allocations: 39.19 kB / 1.314 GB, free: 18.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000705/2.311, allocations: 0.8314 MB / 1.315 GB, free: 17.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/2.311, allocations: 79.73 kB / 1.315 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/2.311, allocations: 64.34 kB / 1.315 GB, free: 17.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.349e-05/2.311, allocations: 336.2 kB / 1.315 GB, free: 17.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009036/2.312, allocations: 330.9 kB / 1.315 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/2.313, allocations: 0.7036 MB / 1.316 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/2.315, allocations: 0.911 MB / 1.317 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/2.315, allocations: 3.344 kB / 1.317 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002483/2.317, allocations: 1.119 MB / 1.318 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002446/2.318, allocations: 447.2 kB / 1.318 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/2.318, allocations: 11.75 kB / 1.318 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/2.318, allocations: 17.41 kB / 1.319 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/2.318, allocations: 218.7 kB / 1.319 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/2.318, allocations: 28.81 kB / 1.319 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/2.32, allocations: 191.1 kB / 1.319 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/2.32, allocations: 41.94 kB / 1.319 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/2.32, allocations: 3.594 kB / 1.319 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002134/2.322, allocations: 0.8738 MB / 1.32 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/2.322, allocations: 12.38 kB / 1.32 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/2.322, allocations: 14.78 kB / 1.32 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007619/2.323, allocations: 207 kB / 1.32 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.638e-05/2.323, allocations: 23.25 kB / 1.32 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/2.325, allocations: 136.2 kB / 1.32 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.716e-05/2.325, allocations: 41.22 kB / 1.32 GB, free: 15.75 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (84): * Single equations (assignments): 83 * 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.001172/2.326, allocations: 0.5232 MB / 1.321 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/2.327, allocations: 157.4 kB / 1.321 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/2.328, allocations: 0.4994 MB / 1.321 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/2.328, allocations: 6.547 kB / 1.321 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/2.328, allocations: 0 / 1.321 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/2.328, allocations: 0 / 1.321 GB, free: 15.39 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.003007/2.331, allocations: 1.617 MB / 1.323 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/2.331, allocations: 2.484 kB / 1.323 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/2.331, allocations: 66.44 kB / 1.323 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/2.331, allocations: 7 kB / 1.323 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/2.331, allocations: 8.969 kB / 1.323 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/2.331, allocations: 3.5 kB / 1.323 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/2.331, allocations: 7.656 kB / 1.323 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/2.333, allocations: 0.6237 MB / 1.324 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/2.333, allocations: 298.9 kB / 1.324 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/2.333, allocations: 5.625 kB / 1.324 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/2.334, allocations: 96.56 kB / 1.324 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/2.334, allocations: 20.3 kB / 1.324 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/2.334, allocations: 20.48 kB / 1.324 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002365/2.337, allocations: 1.21 MB / 1.325 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.41e-07/2.337, allocations: 6.516 kB / 1.325 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002305/2.339, allocations: 0.6659 MB / 1.326 GB, free: 14.26 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 (20): * Single equations (assignments): 20 * 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.0007513/2.34, allocations: 297.1 kB / 1.326 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002817/2.343, allocations: 1.058 MB / 1.327 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/2.343, allocations: 3.062 kB / 1.327 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/2.343, allocations: 160.1 kB / 1.327 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004238/2.347, allocations: 0.7953 MB / 1.328 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/2.352, allocations: 2.927 MB / 1.331 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/2.353, allocations: 1.288 MB / 1.332 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00182/2.355, allocations: 355.6 kB / 1.333 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/2.355, allocations: 112.8 kB / 1.333 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of SimCode: time 1.673e-06/2.355, allocations: 0 / 1.333 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.04716/2.402, allocations: 28.4 MB / 1.36 GB, free: 14.86 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