Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002226/0.002226, allocations: 106.6 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.002722/0.002722, allocations: 190.3 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.865/1.865, 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 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437.1 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.73 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3166, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8123/1.129, allocations: 304.9 MB / 1.316 GB, free: 8.301 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03742/1.166, allocations: 27.45 MB / 1.342 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/1.17, allocations: 75.62 kB / 1.343 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/1.18, allocations: 4.709 MB / 1.347 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008134/1.188, allocations: 2.928 MB / 1.35 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006693/1.195, allocations: 2.625 MB / 1.353 GB, free: 2.422 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01125/1.206, allocations: 7.12 MB / 1.36 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/1.21, allocations: 1.8 MB / 1.361 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005089/1.215, allocations: 2.215 MB / 1.363 GB, free: 7.223 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/1.218, allocations: 1.289 MB / 1.365 GB, free: 5.934 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005242/1.218, allocations: 208 kB / 1.365 GB, free: 5.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006754/1.225, allocations: 3.212 MB / 1.368 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/1.226, allocations: 0.7401 MB / 1.369 GB, free: 1.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001793/1.228, allocations: 1.244 MB / 1.37 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008903/1.237, allocations: 4.826 MB / 1.375 GB, free: 11.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.237, allocations: 3.938 kB / 1.375 GB, free: 11.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.743e-06/1.237, allocations: 4 kB / 1.375 GB, free: 11.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.184e-05/1.237, allocations: 0 / 1.375 GB, free: 11.67 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.005766/1.243, allocations: 2.712 MB / 1.377 GB, free: 8.887 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.243, allocations: 12.88 kB / 1.377 GB, free: 8.875 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004445/1.247, allocations: 0.7191 MB / 1.378 GB, free: 8.152 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/1.258, allocations: 5.522 MB / 1.383 GB, free: 2.578 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/1.259, allocations: 154 kB / 1.384 GB, free: 2.426 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/1.259, allocations: 112 kB / 1.384 GB, free: 2.316 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/1.262, allocations: 1.406 MB / 1.385 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/1.262, allocations: 7.938 kB / 1.385 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.262, allocations: 48 kB / 1.385 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/1.262, allocations: 45.98 kB / 1.385 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/1.264, allocations: 0.9873 MB / 1.386 GB, free: 15.68 MB / 1.092 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.01026/1.275, allocations: 7.707 MB / 1.394 GB, free: 7.562 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009375/1.276, allocations: 371.8 kB / 1.394 GB, free: 7.172 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/1.276, allocations: 112.8 kB / 1.394 GB, free: 7.059 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/1.276, allocations: 194.2 kB / 1.394 GB, free: 6.832 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/1.276, allocations: 38.56 kB / 1.394 GB, free: 6.785 MB / 1.092 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/1.276, allocations: 0 / 1.394 GB, free: 6.785 MB / 1.092 GB Notification: Performance of matching and sorting (n=18): time 0.001642/1.278, allocations: 0.5224 MB / 1.395 GB, free: 6.254 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/1.278, allocations: 55.41 kB / 1.395 GB, free: 6.188 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/1.281, allocations: 2.284 MB / 1.397 GB, free: 3.883 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.679e-05/1.281, allocations: 37.64 kB / 1.397 GB, free: 3.84 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009874/1.282, allocations: 0.9707 MB / 1.398 GB, free: 2.855 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/1.283, allocations: 83.02 kB / 1.398 GB, free: 2.773 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004185/1.283, allocations: 290.1 kB / 1.399 GB, free: 2.484 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002201/1.283, allocations: 349.9 kB / 1.399 GB, free: 2.137 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.284, allocations: 464.9 kB / 1.399 GB, free: 1.68 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/1.286, allocations: 0.8958 MB / 1.4 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/1.288, allocations: 1.22 MB / 1.401 GB, free: 15.16 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.288, allocations: 4 kB / 1.401 GB, free: 15.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003963/1.292, allocations: 1.512 MB / 1.403 GB, free: 13.64 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/1.292, allocations: 15.94 kB / 1.403 GB, free: 13.63 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/1.292, allocations: 16 kB / 1.403 GB, free: 13.61 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-05/1.293, allocations: 20 kB / 1.403 GB, free: 13.59 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009936/1.294, allocations: 248.2 kB / 1.403 GB, free: 13.35 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.467e-05/1.294, allocations: 31.86 kB / 1.403 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.296, allocations: 220.5 kB / 1.403 GB, free: 13.11 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/1.296, allocations: 55.98 kB / 1.403 GB, free: 13.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00254/1.299, allocations: 0.9317 MB / 1.404 GB, free: 12.11 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001563/1.3, allocations: 0.8841 MB / 1.405 GB, free: 11.02 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002096/1.302, allocations: 1.204 MB / 1.406 GB, free: 9.621 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.155e-05/1.302, allocations: 7.938 kB / 1.406 GB, free: 9.613 MB / 1.107 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003446/1.306, allocations: 1.497 MB / 1.408 GB, free: 8.105 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.306, allocations: 11.94 kB / 1.408 GB, free: 8.094 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.306, allocations: 16 kB / 1.408 GB, free: 8.078 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.306, allocations: 20 kB / 1.408 GB, free: 8.059 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/1.307, allocations: 243.8 kB / 1.408 GB, free: 7.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-05/1.307, allocations: 31.86 kB / 1.408 GB, free: 7.789 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/1.308, allocations: 139.7 kB / 1.408 GB, free: 7.652 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.134e-05/1.308, allocations: 59.92 kB / 1.408 GB, free: 7.594 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003322/1.309, allocations: 239.8 kB / 1.409 GB, free: 7.352 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/1.309, allocations: 201.4 kB / 1.409 GB, free: 7.152 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/1.31, allocations: 172 kB / 1.409 GB, free: 6.984 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.31, allocations: 0 / 1.409 GB, free: 6.984 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/1.31, allocations: 0 / 1.409 GB, free: 6.984 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.31, allocations: 7.938 kB / 1.409 GB, free: 6.977 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/1.313, allocations: 1.866 MB / 1.411 GB, free: 4.996 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.313, allocations: 4 kB / 1.411 GB, free: 4.992 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/1.314, allocations: 48.22 kB / 1.411 GB, free: 4.945 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/1.314, allocations: 8 kB / 1.411 GB, free: 4.938 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/1.314, allocations: 16.11 kB / 1.411 GB, free: 4.922 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/1.314, allocations: 8 kB / 1.411 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.314, allocations: 11.88 kB / 1.411 GB, free: 4.902 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/1.315, allocations: 0.569 MB / 1.411 GB, free: 4.262 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/1.315, allocations: 334.4 kB / 1.412 GB, free: 3.914 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/1.316, allocations: 8 kB / 1.412 GB, free: 3.906 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/1.316, allocations: 51.95 kB / 1.412 GB, free: 3.855 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/1.316, allocations: 31.84 kB / 1.412 GB, free: 3.824 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/1.317, allocations: 8 kB / 1.412 GB, free: 3.816 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002688/1.319, allocations: 1.559 MB / 1.413 GB, free: 2.246 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/1.319, allocations: 0 / 1.413 GB, free: 2.246 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00239/1.322, allocations: 0.8153 MB / 1.414 GB, free: 1.43 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.00095/1.323, allocations: 442.4 kB / 1.415 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003185/1.326, allocations: 1.45 MB / 1.416 GB, free: 15.54 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.326, allocations: 5.562 kB / 1.416 GB, free: 15.54 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/1.326, allocations: 124.2 kB / 1.416 GB, free: 15.42 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.331, allocations: 1.079 MB / 1.417 GB, free: 14.37 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/1.337, allocations: 3.176 MB / 1.42 GB, free: 11.11 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.338, allocations: 1.481 MB / 1.422 GB, free: 9.59 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/1.338, allocations: 127.4 kB / 1.422 GB, free: 9.465 MB / 1.123 GB Notification: Performance of SimCode: time 1.042e-06/1.338, allocations: 0 / 1.422 GB, free: 9.465 MB / 1.123 GB Notification: Performance of Templates: time 0.05688/1.395, allocations: 33.26 MB / 1.454 GB, free: 8.391 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches