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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009913/0.0009912, allocations: 91.92 kB / 16.02 MB, free: 80 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.001376/0.001377, allocations: 177.3 kB / 16.92 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.551/2.551, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003687, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7378/0.7382, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3132/1.051, allocations: 298.5 MB / 1.247 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7004/1.752, allocations: 25.43 MB / 1.272 GB, free: 25.51 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003323/1.755, allocations: 68.16 kB / 1.272 GB, free: 25.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003772/1.759, allocations: 1.202 MB / 1.273 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007801/1.767, allocations: 2.702 MB / 1.276 GB, free: 25.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007767/1.775, allocations: 2.368 MB / 1.278 GB, free: 25.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008265/1.783, allocations: 5.626 MB / 1.284 GB, free: 25.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/1.786, allocations: 1.421 MB / 1.285 GB, free: 25.1 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005155/1.791, allocations: 1.88 MB / 1.287 GB, free: 25.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/1.794, allocations: 1.225 MB / 1.288 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003529/1.795, allocations: 63.94 kB / 1.288 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007177/1.802, allocations: 3.26 MB / 1.291 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009737/1.803, allocations: 486.9 kB / 1.292 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/1.805, allocations: 0.9109 MB / 1.293 GB, free: 25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005103/1.81, allocations: 3.227 MB / 1.296 GB, free: 24.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.81, allocations: 3.625 kB / 1.296 GB, free: 24.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.685e-06/1.81, allocations: 0 / 1.296 GB, free: 24.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.285e-05/1.81, allocations: 1.781 kB / 1.296 GB, free: 24.8 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.003554/1.814, allocations: 1.929 MB / 1.298 GB, free: 23.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.814, allocations: 13.69 kB / 1.298 GB, free: 23.67 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/1.818, allocations: 0.7124 MB / 1.299 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/1.822, allocations: 1.976 MB / 1.3 GB, free: 23.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006678/1.822, allocations: 214.9 kB / 1.301 GB, free: 23.08 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/1.823, allocations: 111.7 kB / 1.301 GB, free: 23.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/1.826, allocations: 1.447 MB / 1.302 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/1.826, allocations: 5.812 kB / 1.302 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/1.826, allocations: 48.44 kB / 1.302 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/1.826, allocations: 46.31 kB / 1.302 GB, free: 22.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/1.829, allocations: 1.177 MB / 1.303 GB, free: 22.72 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.008687/1.837, allocations: 6.995 MB / 1.31 GB, free: 18.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/1.839, allocations: 437.9 kB / 1.311 GB, free: 18.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/1.84, allocations: 156.8 kB / 1.311 GB, free: 18.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/1.84, allocations: 191.8 kB / 1.311 GB, free: 18.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.84, allocations: 36.03 kB / 1.311 GB, free: 18.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006923/1.841, allocations: 84.2 kB / 1.311 GB, free: 18.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/1.841, allocations: 2.906 kB / 1.311 GB, free: 18.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001903/1.843, allocations: 0.6286 MB / 1.312 GB, free: 18.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/1.843, allocations: 57.06 kB / 1.312 GB, free: 18.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/1.845, allocations: 1.735 MB / 1.313 GB, free: 18.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.65e-05/1.845, allocations: 32.39 kB / 1.313 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005669/1.846, allocations: 0.8279 MB / 1.314 GB, free: 17.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/1.846, allocations: 80.16 kB / 1.314 GB, free: 17.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/1.846, allocations: 60.75 kB / 1.314 GB, free: 17.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/1.846, allocations: 340.7 kB / 1.315 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009245/1.847, allocations: 333 kB / 1.315 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.848, allocations: 0.7044 MB / 1.316 GB, free: 16.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/1.85, allocations: 0.9104 MB / 1.317 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.85, allocations: 2.438 kB / 1.317 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002877/1.853, allocations: 1.115 MB / 1.318 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/1.853, allocations: 446.8 kB / 1.318 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.853, allocations: 11.56 kB / 1.318 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/1.853, allocations: 18 kB / 1.318 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000836/1.854, allocations: 221.8 kB / 1.318 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/1.854, allocations: 29.31 kB / 1.318 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.855, allocations: 187.2 kB / 1.319 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/1.856, allocations: 48.44 kB / 1.319 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.914e-06/1.856, allocations: 2.844 kB / 1.319 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001859/1.857, allocations: 0.8678 MB / 1.32 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.857, allocations: 12.28 kB / 1.32 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.857, allocations: 17.66 kB / 1.32 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/1.858, allocations: 209 kB / 1.32 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/1.858, allocations: 28.02 kB / 1.32 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.86, allocations: 135.6 kB / 1.32 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/1.86, allocations: 37.75 kB / 1.32 GB, free: 15.73 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.0009134/1.861, allocations: 0.5194 MB / 1.32 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/1.861, allocations: 154.1 kB / 1.321 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/1.862, allocations: 0.4983 MB / 1.321 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.862, allocations: 2.562 kB / 1.321 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.862, allocations: 4.062 kB / 1.321 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.862, allocations: 2.625 kB / 1.321 GB, free: 15.38 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.002935/1.865, allocations: 1.609 MB / 1.323 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.865, allocations: 2.875 kB / 1.323 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/1.866, allocations: 70.2 kB / 1.323 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.866, allocations: 9.062 kB / 1.323 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/1.866, allocations: 7.75 kB / 1.323 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/1.866, allocations: 3.281 kB / 1.323 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.866, allocations: 3.062 kB / 1.323 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/1.867, allocations: 0.6273 MB / 1.323 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/1.867, allocations: 302.3 kB / 1.324 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/1.868, allocations: 6.312 kB / 1.324 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009481/1.869, allocations: 95.86 kB / 1.324 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/1.869, allocations: 19.23 kB / 1.324 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/1.869, allocations: 20.23 kB / 1.324 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001898/1.871, allocations: 1.205 MB / 1.325 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.82e-07/1.871, allocations: 4 kB / 1.325 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002237/1.873, allocations: 0.6705 MB / 1.326 GB, free: 14.25 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.0006305/1.873, allocations: 298.8 kB / 1.326 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00275/1.876, allocations: 1.058 MB / 1.327 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.876, allocations: 0 / 1.327 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000489/1.877, allocations: 166.2 kB / 1.327 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/1.881, allocations: 0.7986 MB / 1.328 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/1.885, allocations: 3.006 MB / 1.331 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/1.886, allocations: 1.289 MB / 1.332 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003875/1.886, allocations: 120.1 kB / 1.332 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.886, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.03838/1.925, allocations: 27.03 MB / 1.359 GB, free: 15.59 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/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