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.001648/0.001648, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002608/0.002608, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.524/1.524, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.453/2.453, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8119 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8403, allocations: 140.3 MB / 0.9489 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3427/1.183, allocations: 302.6 MB / 1.244 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9331/2.116, allocations: 25.74 MB / 1.27 GB, free: 25.58 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004711/2.121, allocations: 76.25 kB / 1.27 GB, free: 25.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005683/2.127, allocations: 1.198 MB / 1.271 GB, free: 25.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01107/2.138, allocations: 2.702 MB / 1.273 GB, free: 25.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007227/2.145, allocations: 2.369 MB / 1.276 GB, free: 25.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009684/2.155, allocations: 5.63 MB / 1.281 GB, free: 25.42 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/2.158, allocations: 1.504 MB / 1.283 GB, free: 25.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006077/2.164, allocations: 1.953 MB / 1.285 GB, free: 25.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003716/2.168, allocations: 1.299 MB / 1.286 GB, free: 25.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003684/2.168, allocations: 96.81 kB / 1.286 GB, free: 25.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007723/2.176, allocations: 3.294 MB / 1.289 GB, free: 25.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009489/2.177, allocations: 0.5171 MB / 1.29 GB, free: 25.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002007/2.179, allocations: 0.9457 MB / 1.291 GB, free: 25.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008118/2.187, allocations: 4.308 MB / 1.295 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/2.187, allocations: 0 / 1.295 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.42e-07/2.187, allocations: 0 / 1.295 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.615e-05/2.187, allocations: 0 / 1.295 GB, free: 24.91 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.004781/2.192, allocations: 2.312 MB / 1.297 GB, free: 23.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/2.192, allocations: 8.438 kB / 1.297 GB, free: 23.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/2.197, allocations: 0.6711 MB / 1.298 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004237/2.201, allocations: 1.979 MB / 1.3 GB, free: 23.15 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006503/2.202, allocations: 203.8 kB / 1.3 GB, free: 23.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/2.202, allocations: 108 kB / 1.3 GB, free: 23.14 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/2.205, allocations: 1.422 MB / 1.301 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/2.205, allocations: 5.969 kB / 1.301 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/2.205, allocations: 49.38 kB / 1.301 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/2.205, allocations: 46.19 kB / 1.301 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/2.208, allocations: 1.147 MB / 1.303 GB, free: 22.79 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.008717/2.217, allocations: 6.963 MB / 1.309 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/2.218, allocations: 425.2 kB / 1.31 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/2.219, allocations: 160 kB / 1.31 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/2.219, allocations: 191.6 kB / 1.31 GB, free: 18.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/2.219, allocations: 37.25 kB / 1.31 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008077/2.22, allocations: 67.97 kB / 1.31 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 3.025e-06/2.22, allocations: 7.188 kB / 1.31 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.002032/2.222, allocations: 0.6171 MB / 1.311 GB, free: 18.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/2.222, allocations: 58.78 kB / 1.311 GB, free: 18.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/2.225, allocations: 1.726 MB / 1.313 GB, free: 18.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.861e-05/2.225, allocations: 33.61 kB / 1.313 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/2.226, allocations: 0.8296 MB / 1.313 GB, free: 17.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/2.226, allocations: 82.86 kB / 1.314 GB, free: 17.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/2.226, allocations: 172.5 kB / 1.314 GB, free: 17.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/2.226, allocations: 340.8 kB / 1.314 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000898/2.227, allocations: 315.9 kB / 1.314 GB, free: 17.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/2.228, allocations: 0.6919 MB / 1.315 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/2.229, allocations: 0.895 MB / 1.316 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/2.229, allocations: 3.781 kB / 1.316 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002596/2.232, allocations: 1.089 MB / 1.317 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/2.232, allocations: 11.12 kB / 1.317 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/2.232, allocations: 17.33 kB / 1.317 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/2.232, allocations: 18.53 kB / 1.317 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/2.233, allocations: 217.5 kB / 1.317 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/2.233, allocations: 22.52 kB / 1.317 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/2.235, allocations: 169.3 kB / 1.317 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/2.235, allocations: 43.38 kB / 1.317 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001451/2.236, allocations: 0.6551 MB / 1.318 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008785/2.237, allocations: 0.657 MB / 1.319 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001414/2.239, allocations: 0.8373 MB / 1.32 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.021e-05/2.239, allocations: 3.469 kB / 1.32 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002455/2.241, allocations: 1.02 MB / 1.321 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/2.241, allocations: 14.5 kB / 1.321 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/2.241, allocations: 11.84 kB / 1.321 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/2.241, allocations: 16.59 kB / 1.321 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/2.242, allocations: 194.4 kB / 1.321 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/2.242, allocations: 27.67 kB / 1.321 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/2.244, allocations: 148.6 kB / 1.321 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/2.244, allocations: 37.86 kB / 1.321 GB, free: 15.17 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.0003548/2.244, allocations: 237.1 kB / 1.321 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/2.244, allocations: 161.4 kB / 1.321 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/2.246, allocations: 493.8 kB / 1.322 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/2.246, allocations: 2.5 kB / 1.322 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/2.246, allocations: 4 kB / 1.322 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/2.246, allocations: 0 / 1.322 GB, free: 14.82 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.003238/2.249, allocations: 1.62 MB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/2.249, allocations: 2.719 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/2.25, allocations: 61.45 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/2.25, allocations: 3.641 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/2.25, allocations: 8.562 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/2.25, allocations: 5.859 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/2.25, allocations: 9.656 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/2.251, allocations: 0.6156 MB / 1.324 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/2.251, allocations: 295.8 kB / 1.324 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/2.252, allocations: 5.75 kB / 1.324 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/2.253, allocations: 80.62 kB / 1.324 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/2.253, allocations: 21.42 kB / 1.324 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/2.253, allocations: 21.91 kB / 1.324 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002279/2.255, allocations: 1.197 MB / 1.326 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/2.255, allocations: 2.406 kB / 1.326 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002457/2.258, allocations: 0.6668 MB / 1.326 GB, free: 13.7 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.0006923/2.258, allocations: 310.6 kB / 1.327 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002789/2.261, allocations: 1.026 MB / 1.328 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/2.261, allocations: 2.312 kB / 1.328 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000468/2.262, allocations: 160.5 kB / 1.328 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/2.265, allocations: 0.7955 MB / 1.329 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/2.269, allocations: 2.881 MB / 1.331 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/2.27, allocations: 1.293 MB / 1.333 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001845/2.272, allocations: 352.8 kB / 1.333 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/2.272, allocations: 110.7 kB / 1.333 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/2.272, allocations: 0 / 1.333 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of Templates: time 0.05149/2.324, allocations: 28.27 MB / 1.361 GB, free: 13.02 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