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.001193/0.001193, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001277/0.001277, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.249/2.249, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 66.31 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3215, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8252/1.147, allocations: 300.9 MB / 1.244 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03603/1.183, allocations: 25.39 MB / 1.268 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004541/1.187, allocations: 77.34 kB / 1.269 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004781/1.192, allocations: 1.274 MB / 1.27 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0091/1.201, allocations: 2.72 MB / 1.272 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007406/1.209, allocations: 2.43 MB / 1.275 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007821/1.217, allocations: 4.334 MB / 1.279 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003465/1.22, allocations: 1.772 MB / 1.281 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006218/1.226, allocations: 2.27 MB / 1.283 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/1.23, allocations: 1.369 MB / 1.284 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004398/1.23, allocations: 208 kB / 1.285 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007126/1.237, allocations: 3.141 MB / 1.288 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009536/1.238, allocations: 0.6388 MB / 1.288 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/1.24, allocations: 1.073 MB / 1.289 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006783/1.247, allocations: 3.309 MB / 1.292 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.247, allocations: 0 / 1.292 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.214e-06/1.247, allocations: 0 / 1.292 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.682e-05/1.247, allocations: 4 kB / 1.292 GB, free: 3.039 MB / 0.9512 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.00498/1.252, allocations: 2.315 MB / 1.295 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.252, allocations: 8.031 kB / 1.295 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/1.256, allocations: 0.6767 MB / 1.295 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00445/1.261, allocations: 1.979 MB / 1.297 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006476/1.261, allocations: 194 kB / 1.298 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/1.262, allocations: 112 kB / 1.298 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/1.265, allocations: 1.43 MB / 1.299 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/1.265, allocations: 7.938 kB / 1.299 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/1.266, allocations: 51.94 kB / 1.299 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/1.266, allocations: 38 kB / 1.299 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/1.269, allocations: 1.15 MB / 1.3 GB, free: 10.85 MB / 0.9669 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.01075/1.28, allocations: 6.963 MB / 1.307 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/1.282, allocations: 422.6 kB / 1.307 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/1.282, allocations: 156.8 kB / 1.308 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/1.282, allocations: 198.2 kB / 1.308 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/1.282, allocations: 38.5 kB / 1.308 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008316/1.283, allocations: 82.95 kB / 1.308 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 3.677e-06/1.283, allocations: 0 / 1.308 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.002198/1.286, allocations: 0.6184 MB / 1.309 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/1.286, allocations: 51.41 kB / 1.309 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/1.289, allocations: 1.738 MB / 1.31 GB, free: 104 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/1.289, allocations: 33.7 kB / 1.31 GB, free: 64 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008291/1.29, allocations: 0.825 MB / 1.311 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/1.29, allocations: 75.08 kB / 1.311 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/1.29, allocations: 182.3 kB / 1.311 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.291, allocations: 326 kB / 1.312 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/1.292, allocations: 324.7 kB / 1.312 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/1.293, allocations: 0.6987 MB / 1.313 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/1.295, allocations: 0.8964 MB / 1.314 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/1.295, allocations: 4 kB / 1.314 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002927/1.298, allocations: 1.097 MB / 1.315 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.298, allocations: 8 kB / 1.315 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/1.298, allocations: 12 kB / 1.315 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/1.298, allocations: 19.94 kB / 1.315 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/1.299, allocations: 208 kB / 1.315 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/1.299, allocations: 23.92 kB / 1.315 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.3, allocations: 176.3 kB / 1.315 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/1.301, allocations: 47.97 kB / 1.315 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001474/1.302, allocations: 0.6561 MB / 1.316 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001064/1.303, allocations: 0.6557 MB / 1.316 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001494/1.305, allocations: 0.8532 MB / 1.317 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.819e-06/1.305, allocations: 4 kB / 1.317 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002514/1.307, allocations: 1.015 MB / 1.318 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.307, allocations: 16.16 kB / 1.318 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.307, allocations: 15.98 kB / 1.318 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/1.307, allocations: 16 kB / 1.318 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/1.308, allocations: 199.6 kB / 1.318 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/1.308, allocations: 23.88 kB / 1.318 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.31, allocations: 156.4 kB / 1.319 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/1.31, allocations: 36 kB / 1.319 GB, free: 6.789 MB / 0.9825 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.0003176/1.31, allocations: 235.9 kB / 1.319 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004072/1.311, allocations: 154 kB / 1.319 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/1.312, allocations: 0.4894 MB / 1.319 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.312, allocations: 4 kB / 1.319 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.312, allocations: 128 / 1.319 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.312, allocations: 0 / 1.319 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/1.316, allocations: 1.577 MB / 1.321 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.316, allocations: 3.938 kB / 1.321 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/1.316, allocations: 68.19 kB / 1.321 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.316, allocations: 4 kB / 1.321 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/1.316, allocations: 4 kB / 1.321 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/1.316, allocations: 7.938 kB / 1.321 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.316, allocations: 7.984 kB / 1.321 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/1.318, allocations: 0.6277 MB / 1.322 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007582/1.319, allocations: 291 kB / 1.322 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/1.319, allocations: 8 kB / 1.322 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.32, allocations: 75.91 kB / 1.322 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/1.32, allocations: 19.92 kB / 1.322 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/1.32, allocations: 23.97 kB / 1.322 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002479/1.323, allocations: 1.21 MB / 1.323 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.22e-07/1.323, allocations: 0 / 1.323 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00267/1.325, allocations: 0.6629 MB / 1.324 GB, free: 1.137 MB / 0.9825 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.0008113/1.326, allocations: 299 kB / 1.324 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002997/1.329, allocations: 1.035 MB / 1.325 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.329, allocations: 0 / 1.325 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005245/1.33, allocations: 165.8 kB / 1.325 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/1.334, allocations: 0.858 MB / 1.326 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/1.34, allocations: 2.999 MB / 1.329 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.341, allocations: 1.291 MB / 1.33 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/1.341, allocations: 123.3 kB / 1.331 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.341, allocations: 0 / 1.331 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04558/1.387, allocations: 27.36 MB / 1.357 GB, free: 15.13 MB / 1.029 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/jenkins1/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