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.001391/0.001391, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.543/1.543, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.849/2.849, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9179/0.9199, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.286/2.206, allocations: 304.9 MB / 1.315 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03563/2.242, allocations: 27.45 MB / 1.342 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004811/2.247, allocations: 80.53 kB / 1.342 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01038/2.257, allocations: 4.704 MB / 1.346 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009077/2.266, allocations: 2.919 MB / 1.349 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007419/2.274, allocations: 2.613 MB / 1.352 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01188/2.286, allocations: 7.125 MB / 1.359 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003411/2.289, allocations: 1.795 MB / 1.361 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005372/2.295, allocations: 2.226 MB / 1.363 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003131/2.298, allocations: 1.292 MB / 1.364 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004407/2.298, allocations: 205.4 kB / 1.364 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006931/2.305, allocations: 3.199 MB / 1.367 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/2.306, allocations: 0.7489 MB / 1.368 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001922/2.308, allocations: 1.253 MB / 1.369 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01394/2.322, allocations: 4.82 MB / 1.374 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/2.322, allocations: 0 / 1.374 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.098e-06/2.322, allocations: 0 / 1.374 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.183e-05/2.322, allocations: 3.094 kB / 1.374 GB, free: 0.7578 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.006026/2.328, allocations: 2.71 MB / 1.377 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/2.328, allocations: 13.8 kB / 1.377 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/2.333, allocations: 0.7255 MB / 1.377 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/2.344, allocations: 5.521 MB / 1.383 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003838/2.344, allocations: 145.8 kB / 1.383 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/2.344, allocations: 114.2 kB / 1.383 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/2.347, allocations: 1.41 MB / 1.384 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/2.347, allocations: 5.25 kB / 1.384 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/2.347, allocations: 48.84 kB / 1.384 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/2.347, allocations: 42.17 kB / 1.384 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/2.35, allocations: 0.9875 MB / 1.385 GB, free: 9.754 MB / 1.014 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.01094/2.361, allocations: 7.717 MB / 1.393 GB, free: 2.938 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/2.362, allocations: 372.7 kB / 1.393 GB, free: 2.691 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/2.362, allocations: 121.4 kB / 1.393 GB, free: 2.629 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/2.362, allocations: 188.6 kB / 1.394 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/2.363, allocations: 41.47 kB / 1.394 GB, free: 2.383 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/2.363, allocations: 0 / 1.394 GB, free: 2.383 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001648/2.364, allocations: 0.5234 MB / 1.394 GB, free: 2.105 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/2.364, allocations: 53.62 kB / 1.394 GB, free: 2.043 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/2.367, allocations: 2.281 MB / 1.396 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/2.368, allocations: 32.52 kB / 1.397 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009296/2.368, allocations: 0.9776 MB / 1.397 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/2.369, allocations: 78.19 kB / 1.398 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/2.369, allocations: 278.1 kB / 1.398 GB, free: 15.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001748/2.369, allocations: 359.4 kB / 1.398 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/2.37, allocations: 455.5 kB / 1.399 GB, free: 15.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/2.371, allocations: 0.9054 MB / 1.399 GB, free: 14.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/2.373, allocations: 1.216 MB / 1.401 GB, free: 13.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/2.373, allocations: 6.281 kB / 1.401 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002806/2.376, allocations: 1.513 MB / 1.402 GB, free: 12.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/2.376, allocations: 15.91 kB / 1.402 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/2.376, allocations: 15.03 kB / 1.402 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/2.376, allocations: 20.09 kB / 1.402 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/2.377, allocations: 248.8 kB / 1.402 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.509e-05/2.377, allocations: 31.17 kB / 1.402 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/2.379, allocations: 219.6 kB / 1.403 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/2.379, allocations: 54.98 kB / 1.403 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001618/2.38, allocations: 0.9386 MB / 1.404 GB, free: 11.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001189/2.382, allocations: 0.8864 MB / 1.404 GB, free: 11.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001739/2.383, allocations: 1.21 MB / 1.406 GB, free: 9.957 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.165e-06/2.383, allocations: 4 kB / 1.406 GB, free: 9.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002973/2.386, allocations: 1.488 MB / 1.407 GB, free: 8.535 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/2.386, allocations: 15.94 kB / 1.407 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/2.386, allocations: 12 kB / 1.407 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/2.386, allocations: 20 kB / 1.407 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/2.387, allocations: 246.2 kB / 1.407 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/2.387, allocations: 33.03 kB / 1.407 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/2.389, allocations: 139.7 kB / 1.408 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/2.389, allocations: 58.52 kB / 1.408 GB, free: 8.047 MB / 1.029 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.0003556/2.389, allocations: 249.9 kB / 1.408 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/2.39, allocations: 205.3 kB / 1.408 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/2.39, allocations: 168 kB / 1.408 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/2.39, allocations: 4 kB / 1.408 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/2.39, allocations: 2.625 kB / 1.408 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/2.39, allocations: 0 / 1.408 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/2.394, allocations: 1.86 MB / 1.41 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/2.394, allocations: 8 kB / 1.41 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/2.394, allocations: 59 kB / 1.41 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-06/2.394, allocations: 8 kB / 1.41 GB, free: 5.426 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/2.394, allocations: 7.984 kB / 1.41 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/2.394, allocations: 10.62 kB / 1.41 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.394, allocations: 4 kB / 1.41 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/2.395, allocations: 0.576 MB / 1.411 GB, free: 4.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/2.396, allocations: 326.3 kB / 1.411 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/2.396, allocations: 12 kB / 1.411 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/2.397, allocations: 47.95 kB / 1.411 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/2.397, allocations: 29.17 kB / 1.411 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/2.397, allocations: 19.98 kB / 1.411 GB, free: 4.324 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00256/2.399, allocations: 1.551 MB / 1.413 GB, free: 2.762 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/2.399, allocations: 0 / 1.413 GB, free: 2.762 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002712/2.402, allocations: 0.8114 MB / 1.413 GB, free: 1.949 MB / 1.029 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.0009549/2.403, allocations: 446.3 kB / 1.414 GB, free: 1.527 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00319/2.406, allocations: 1.455 MB / 1.415 GB, free: 172 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/2.406, allocations: 0 / 1.415 GB, free: 172 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/2.407, allocations: 125.4 kB / 1.415 GB, free: 60 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004659/2.411, allocations: 1.074 MB / 1.416 GB, free: 15.01 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005761/2.417, allocations: 3.042 MB / 1.419 GB, free: 11.89 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/2.418, allocations: 1.481 MB / 1.421 GB, free: 10.38 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002184/2.421, allocations: 455.6 kB / 1.421 GB, free: 9.934 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/2.421, allocations: 127.4 kB / 1.421 GB, free: 9.809 MB / 1.045 GB Notification: Performance of SimCode: time 8.02e-07/2.421, allocations: 0 / 1.421 GB, free: 9.809 MB / 1.045 GB Notification: Performance of Templates: time 0.07246/2.493, allocations: 35.92 MB / 1.456 GB, free: 6.449 MB / 1.076 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/jenkins/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