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.001344/0.001344, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0016/0.0016, allocations: 192 kB / 16.25 MB, free: 6.637 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.514/2.514, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9266/0.9282, allocations: 140.3 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3398/1.268, allocations: 301 MB / 1.243 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7854/2.054, allocations: 25.39 MB / 1.268 GB, free: 25.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004573/2.058, allocations: 73.41 kB / 1.268 GB, free: 25.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005636/2.064, allocations: 1.269 MB / 1.269 GB, free: 25.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/2.076, allocations: 2.713 MB / 1.272 GB, free: 25.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01104/2.087, allocations: 2.421 MB / 1.274 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009899/2.097, allocations: 4.328 MB / 1.278 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004136/2.101, allocations: 1.78 MB / 1.28 GB, free: 24.79 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007634/2.109, allocations: 2.267 MB / 1.282 GB, free: 24.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004862/2.114, allocations: 1.369 MB / 1.284 GB, free: 24.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008691/2.114, allocations: 209.4 kB / 1.284 GB, free: 24.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009344/2.124, allocations: 3.148 MB / 1.287 GB, free: 24.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/2.125, allocations: 0.6387 MB / 1.288 GB, free: 24.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002735/2.128, allocations: 1.066 MB / 1.289 GB, free: 24.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/2.139, allocations: 4.381 MB / 1.293 GB, free: 24.53 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/2.139, allocations: 2 kB / 1.293 GB, free: 24.53 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.316e-06/2.139, allocations: 0 / 1.293 GB, free: 24.53 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.798e-05/2.139, allocations: 2.906 kB / 1.293 GB, free: 24.53 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.006341/2.146, allocations: 2.305 MB / 1.295 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/2.146, allocations: 9.562 kB / 1.295 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/2.151, allocations: 0.6835 MB / 1.296 GB, free: 23.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005563/2.156, allocations: 1.971 MB / 1.298 GB, free: 22.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006537/2.157, allocations: 201.8 kB / 1.298 GB, free: 22.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/2.157, allocations: 109.5 kB / 1.298 GB, free: 22.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/2.161, allocations: 1.429 MB / 1.299 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/2.161, allocations: 5.719 kB / 1.299 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/2.161, allocations: 51.33 kB / 1.299 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/2.161, allocations: 38.31 kB / 1.299 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/2.164, allocations: 1.15 MB / 1.301 GB, free: 22.49 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.01045/2.174, allocations: 6.964 MB / 1.307 GB, free: 18.74 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/2.176, allocations: 426.2 kB / 1.308 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/2.177, allocations: 162.5 kB / 1.308 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/2.177, allocations: 188.5 kB / 1.308 GB, free: 18.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/2.177, allocations: 37.16 kB / 1.308 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009422/2.178, allocations: 80.59 kB / 1.308 GB, free: 18.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.925e-06/2.178, allocations: 0.8125 kB / 1.308 GB, free: 18.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.002142/2.18, allocations: 0.6203 MB / 1.309 GB, free: 18.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/2.18, allocations: 58.12 kB / 1.309 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/2.183, allocations: 1.73 MB / 1.311 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/2.183, allocations: 32.77 kB / 1.311 GB, free: 17.99 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/2.184, allocations: 0.8329 MB / 1.311 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/2.184, allocations: 76.77 kB / 1.312 GB, free: 17.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/2.184, allocations: 175.2 kB / 1.312 GB, free: 17.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/2.184, allocations: 342.6 kB / 1.312 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000917/2.185, allocations: 323.2 kB / 1.312 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/2.186, allocations: 0.6901 MB / 1.313 GB, free: 16.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/2.188, allocations: 0.8999 MB / 1.314 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/2.188, allocations: 4.969 kB / 1.314 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002815/2.191, allocations: 1.096 MB / 1.315 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/2.191, allocations: 10.81 kB / 1.315 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/2.191, allocations: 13.75 kB / 1.315 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/2.191, allocations: 15.56 kB / 1.315 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008464/2.192, allocations: 208.7 kB / 1.315 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.099e-05/2.192, allocations: 27.28 kB / 1.315 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/2.194, allocations: 176.9 kB / 1.315 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/2.194, allocations: 46.88 kB / 1.315 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001501/2.195, allocations: 0.6552 MB / 1.316 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009232/2.196, allocations: 0.6558 MB / 1.317 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001336/2.198, allocations: 0.842 MB / 1.318 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.702e-06/2.198, allocations: 3.219 kB / 1.318 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002464/2.2, allocations: 1.02 MB / 1.319 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/2.2, allocations: 11 kB / 1.319 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/2.2, allocations: 19.06 kB / 1.319 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/2.2, allocations: 20.38 kB / 1.319 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/2.201, allocations: 198.8 kB / 1.319 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/2.201, allocations: 19.78 kB / 1.319 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/2.203, allocations: 144.4 kB / 1.319 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/2.203, allocations: 49.59 kB / 1.319 GB, free: 14.98 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.0003102/2.203, allocations: 231.2 kB / 1.319 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/2.203, allocations: 155.7 kB / 1.319 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/2.205, allocations: 499.8 kB / 1.32 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/2.205, allocations: 2.5 kB / 1.32 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/2.205, allocations: 128 / 1.32 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/2.205, allocations: 5.688 kB / 1.32 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/2.209, allocations: 1.573 MB / 1.321 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/2.209, allocations: 13.41 kB / 1.321 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/2.209, allocations: 63.45 kB / 1.321 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/2.209, allocations: 7.062 kB / 1.321 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/2.209, allocations: 13.11 kB / 1.321 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/2.209, allocations: 2.906 kB / 1.321 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.209, allocations: 2.188 kB / 1.321 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/2.21, allocations: 0.6231 MB / 1.322 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/2.211, allocations: 297.1 kB / 1.322 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/2.211, allocations: 6.531 kB / 1.322 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/2.212, allocations: 81.86 kB / 1.322 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/2.212, allocations: 17.11 kB / 1.322 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/2.212, allocations: 17.84 kB / 1.322 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002072/2.214, allocations: 1.204 MB / 1.324 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.3e-07/2.214, allocations: 0 / 1.324 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002396/2.217, allocations: 0.6731 MB / 1.324 GB, free: 13.5 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.0009383/2.218, allocations: 301.8 kB / 1.325 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003335/2.221, allocations: 1.038 MB / 1.326 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.221, allocations: 0 / 1.326 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005046/2.222, allocations: 162.4 kB / 1.326 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004243/2.226, allocations: 0.8527 MB / 1.327 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005311/2.231, allocations: 2.907 MB / 1.329 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/2.232, allocations: 1.286 MB / 1.331 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002836/2.235, allocations: 356 kB / 1.331 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/2.236, allocations: 112.2 kB / 1.331 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of SimCode: time 2.926e-06/2.236, allocations: 0 / 1.331 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.05303/2.289, allocations: 29.15 MB / 1.36 GB, free: 14.21 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