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.00171/0.00171, allocations: 102 kB / 16.27 MB, free: 5.965 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.002092/0.002093, allocations: 191.9 kB / 17.2 MB, free: 5.59 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.485/1.485, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.487/2.487, allocations: 437 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 62.8 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2937, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7938/1.088, allocations: 304.9 MB / 1.316 GB, free: 8.219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03483/1.122, allocations: 27.45 MB / 1.342 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00398/1.126, allocations: 75.62 kB / 1.343 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.009606/1.136, allocations: 4.711 MB / 1.347 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007641/1.144, allocations: 2.918 MB / 1.35 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006446/1.15, allocations: 2.618 MB / 1.353 GB, free: 2.359 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01005/1.16, allocations: 7.135 MB / 1.36 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003089/1.163, allocations: 1.791 MB / 1.361 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/1.168, allocations: 2.219 MB / 1.363 GB, free: 7.152 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/1.171, allocations: 1.306 MB / 1.365 GB, free: 5.848 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005482/1.171, allocations: 208 kB / 1.365 GB, free: 5.645 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00615/1.177, allocations: 3.208 MB / 1.368 GB, free: 2.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/1.178, allocations: 0.7439 MB / 1.369 GB, free: 1.684 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/1.181, allocations: 1.248 MB / 1.37 GB, free: 440 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008464/1.189, allocations: 4.819 MB / 1.375 GB, free: 11.6 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/1.189, allocations: 0 / 1.375 GB, free: 11.6 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/1.189, allocations: 0 / 1.375 GB, free: 11.6 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001235/1.189, allocations: 0 / 1.375 GB, free: 11.6 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.005861/1.195, allocations: 2.72 MB / 1.377 GB, free: 8.805 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.195, allocations: 12.88 kB / 1.377 GB, free: 8.793 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/1.2, allocations: 0.7191 MB / 1.378 GB, free: 8.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/1.21, allocations: 5.527 MB / 1.383 GB, free: 2.488 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004129/1.21, allocations: 138.1 kB / 1.384 GB, free: 2.352 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/1.211, allocations: 115.9 kB / 1.384 GB, free: 2.238 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/1.213, allocations: 1.406 MB / 1.385 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/1.214, allocations: 7.938 kB / 1.385 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/1.214, allocations: 44 kB / 1.385 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/1.214, allocations: 42 kB / 1.385 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/1.216, allocations: 0.9835 MB / 1.386 GB, free: 15.61 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.009196/1.225, allocations: 7.723 MB / 1.394 GB, free: 7.48 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/1.226, allocations: 363.8 kB / 1.394 GB, free: 7.098 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/1.227, allocations: 120.8 kB / 1.394 GB, free: 6.977 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/1.227, allocations: 190.2 kB / 1.394 GB, free: 6.754 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/1.227, allocations: 34.56 kB / 1.394 GB, free: 6.711 MB / 1.092 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/1.227, allocations: 0 / 1.394 GB, free: 6.711 MB / 1.092 GB Notification: Performance of matching and sorting (n=18): time 0.001595/1.229, allocations: 0.5224 MB / 1.395 GB, free: 6.18 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/1.229, allocations: 55.41 kB / 1.395 GB, free: 6.113 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/1.232, allocations: 2.287 MB / 1.397 GB, free: 3.805 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/1.232, allocations: 33.7 kB / 1.397 GB, free: 3.766 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/1.233, allocations: 0.9746 MB / 1.398 GB, free: 2.777 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/1.233, allocations: 83.03 kB / 1.398 GB, free: 2.695 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/1.234, allocations: 282.2 kB / 1.398 GB, free: 2.414 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.234, allocations: 349.9 kB / 1.399 GB, free: 2.066 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009465/1.235, allocations: 464.9 kB / 1.399 GB, free: 1.609 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.236, allocations: 0.8997 MB / 1.4 GB, free: 0.5 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/1.238, allocations: 1.214 MB / 1.401 GB, free: 15.09 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.238, allocations: 4 kB / 1.401 GB, free: 15.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002872/1.241, allocations: 1.52 MB / 1.403 GB, free: 13.56 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.241, allocations: 16.02 kB / 1.403 GB, free: 13.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.241, allocations: 16 kB / 1.403 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/1.241, allocations: 20 kB / 1.403 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/1.242, allocations: 251.5 kB / 1.403 GB, free: 13.27 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/1.242, allocations: 31.92 kB / 1.403 GB, free: 13.24 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/1.243, allocations: 215.1 kB / 1.403 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.293e-05/1.243, allocations: 55.98 kB / 1.403 GB, free: 12.97 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001551/1.245, allocations: 0.9395 MB / 1.404 GB, free: 12.03 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/1.246, allocations: 0.8919 MB / 1.405 GB, free: 10.93 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001585/1.248, allocations: 1.198 MB / 1.406 GB, free: 9.531 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.357e-06/1.248, allocations: 4 kB / 1.406 GB, free: 9.527 MB / 1.107 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002682/1.25, allocations: 1.491 MB / 1.408 GB, free: 8.031 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.25, allocations: 12 kB / 1.408 GB, free: 8.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.25, allocations: 19.98 kB / 1.408 GB, free: 8 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.25, allocations: 20.72 kB / 1.408 GB, free: 7.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/1.251, allocations: 247.6 kB / 1.408 GB, free: 7.738 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/1.251, allocations: 23.94 kB / 1.408 GB, free: 7.715 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.253, allocations: 147.7 kB / 1.408 GB, free: 7.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/1.253, allocations: 51.94 kB / 1.408 GB, free: 7.52 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.0002462/1.253, allocations: 247.8 kB / 1.409 GB, free: 7.27 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/1.253, allocations: 197.4 kB / 1.409 GB, free: 7.074 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/1.254, allocations: 172 kB / 1.409 GB, free: 6.906 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.254, allocations: 0 / 1.409 GB, free: 6.906 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.254, allocations: 3.984 kB / 1.409 GB, free: 6.902 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.254, allocations: 7.922 kB / 1.409 GB, free: 6.895 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.257, allocations: 1.866 MB / 1.411 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/1.257, allocations: 8.031 kB / 1.411 GB, free: 4.906 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/1.257, allocations: 51.89 kB / 1.411 GB, free: 4.855 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.257, allocations: 4 kB / 1.411 GB, free: 4.852 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/1.257, allocations: 8 kB / 1.411 GB, free: 4.844 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.257, allocations: 7.984 kB / 1.411 GB, free: 4.836 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.257, allocations: 11.88 kB / 1.411 GB, free: 4.824 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/1.259, allocations: 0.5655 MB / 1.411 GB, free: 4.188 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/1.259, allocations: 334.3 kB / 1.412 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/1.259, allocations: 15.98 kB / 1.412 GB, free: 3.824 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008546/1.26, allocations: 56.02 kB / 1.412 GB, free: 3.77 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/1.26, allocations: 19.86 kB / 1.412 GB, free: 3.75 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.26, allocations: 12 kB / 1.412 GB, free: 3.738 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002402/1.263, allocations: 1.559 MB / 1.413 GB, free: 2.168 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.91e-07/1.263, allocations: 3.938 kB / 1.413 GB, free: 2.164 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002213/1.265, allocations: 0.8153 MB / 1.414 GB, free: 1.348 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.0009544/1.266, allocations: 426.8 kB / 1.415 GB, free: 0.918 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002871/1.269, allocations: 1.456 MB / 1.416 GB, free: 15.46 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.269, allocations: 4 kB / 1.416 GB, free: 15.46 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/1.269, allocations: 120.8 kB / 1.416 GB, free: 15.34 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/1.273, allocations: 1.077 MB / 1.417 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/1.278, allocations: 3.178 MB / 1.42 GB, free: 11.03 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.28, allocations: 1.485 MB / 1.422 GB, free: 9.512 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.28, allocations: 131.4 kB / 1.422 GB, free: 9.383 MB / 1.123 GB Notification: Performance of SimCode: time 9.32e-07/1.28, allocations: 0 / 1.422 GB, free: 9.383 MB / 1.123 GB Notification: Performance of Templates: time 0.05775/1.338, allocations: 33.26 MB / 1.454 GB, free: 8.312 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=480 -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