Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008633/0.0008633, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005533/0.005533, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.414/2.414, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 9.906 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2224, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6857/0.9081, allocations: 298.9 MB / 1.351 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02512/0.9333, allocations: 27.31 MB / 1.377 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.9361, allocations: 69.22 kB / 1.377 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007695/0.9439, allocations: 4.426 MB / 1.382 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006051/0.9499, allocations: 2.726 MB / 1.384 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005106/0.955, allocations: 2.383 MB / 1.387 GB, free: 15.58 MB / 1.014 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.008758/0.9638, allocations: 8.596 MB / 1.395 GB, free: 13.26 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.966, allocations: 1.442 MB / 1.397 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.9696, allocations: 1.871 MB / 1.398 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.9721, allocations: 1.254 MB / 1.4 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.9724, allocations: 64.78 kB / 1.4 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005528/0.978, allocations: 3.477 MB / 1.403 GB, free: 9.449 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.9787, allocations: 0.6082 MB / 1.404 GB, free: 9.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.9805, allocations: 1.086 MB / 1.405 GB, free: 8.359 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006035/0.9865, allocations: 4.857 MB / 1.409 GB, free: 5.285 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.9865, allocations: 0 / 1.409 GB, free: 5.285 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9865, allocations: 4 kB / 1.409 GB, free: 5.281 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.476e-05/0.9866, allocations: 3.375 kB / 1.409 GB, free: 5.281 MB / 1.014 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.003892/0.9905, allocations: 2.293 MB / 1.412 GB, free: 3.543 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.9906, allocations: 13.88 kB / 1.412 GB, free: 3.539 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.9908, allocations: 169.7 kB / 1.412 GB, free: 3.398 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/0.9947, allocations: 0.7594 MB / 1.413 GB, free: 3.062 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007759/1.002, allocations: 5.524 MB / 1.418 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/1.003, allocations: 152.7 kB / 1.418 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.003, allocations: 108.3 kB / 1.418 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/1.005, allocations: 1.395 MB / 1.42 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/1.005, allocations: 7.312 kB / 1.42 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/1.005, allocations: 42 kB / 1.42 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/1.005, allocations: 42.69 kB / 1.42 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/1.007, allocations: 1.015 MB / 1.421 GB, free: 13.77 MB / 1.029 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.006807/1.014, allocations: 7.13 MB / 1.428 GB, free: 7.488 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/1.015, allocations: 314.7 kB / 1.428 GB, free: 7.172 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/1.015, allocations: 124.8 kB / 1.428 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/1.016, allocations: 196.5 kB / 1.428 GB, free: 6.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/1.016, allocations: 34.5 kB / 1.428 GB, free: 6.777 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004233/1.016, allocations: 82.91 kB / 1.428 GB, free: 6.695 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.194e-06/1.016, allocations: 0 / 1.428 GB, free: 6.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001316/1.017, allocations: 0.5585 MB / 1.429 GB, free: 6.129 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/1.017, allocations: 59.39 kB / 1.429 GB, free: 6.059 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/1.02, allocations: 2.247 MB / 1.431 GB, free: 3.789 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/1.02, allocations: 33.7 kB / 1.431 GB, free: 3.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006764/1.021, allocations: 0.9697 MB / 1.432 GB, free: 2.781 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/1.021, allocations: 76.64 kB / 1.432 GB, free: 2.707 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/1.021, allocations: 125.6 kB / 1.432 GB, free: 2.578 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.021, allocations: 357.9 kB / 1.433 GB, free: 2.223 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008182/1.022, allocations: 458.1 kB / 1.433 GB, free: 1.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/1.023, allocations: 0.8673 MB / 1.434 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/1.024, allocations: 1.185 MB / 1.435 GB, free: 15.35 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/1.024, allocations: 4 kB / 1.435 GB, free: 15.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002315/1.027, allocations: 1.495 MB / 1.437 GB, free: 13.85 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003218/1.027, allocations: 484.4 kB / 1.437 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.027, allocations: 12 kB / 1.437 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/1.027, allocations: 20 kB / 1.437 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/1.028, allocations: 235.6 kB / 1.437 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/1.028, allocations: 31.86 kB / 1.437 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.029, allocations: 157.4 kB / 1.437 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/1.03, allocations: 51.98 kB / 1.438 GB, free: 12.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/1.03, allocations: 4 kB / 1.438 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002127/1.032, allocations: 1.27 MB / 1.439 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.032, allocations: 12 kB / 1.439 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.032, allocations: 27.88 kB / 1.439 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/1.032, allocations: 231.8 kB / 1.439 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/1.033, allocations: 27.92 kB / 1.439 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.034, allocations: 121.5 kB / 1.439 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/1.034, allocations: 52.06 kB / 1.439 GB, free: 10.96 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (118): * Single equations (assignments): 116 * 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.0008596/1.035, allocations: 0.6548 MB / 1.44 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.035, allocations: 197.4 kB / 1.44 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/1.035, allocations: 171.7 kB / 1.44 GB, free: 9.934 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.035, allocations: 4 kB / 1.44 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.035, allocations: 0 / 1.44 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.035, allocations: 4 kB / 1.44 GB, free: 9.926 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/1.038, allocations: 1.948 MB / 1.442 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.038, allocations: 7.938 kB / 1.442 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/1.038, allocations: 47.91 kB / 1.442 GB, free: 7.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/1.038, allocations: 4 kB / 1.442 GB, free: 7.805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/1.038, allocations: 15.98 kB / 1.442 GB, free: 7.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/1.038, allocations: 8.188 kB / 1.442 GB, free: 7.781 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.038, allocations: 12 kB / 1.442 GB, free: 7.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/1.039, allocations: 0.5907 MB / 1.443 GB, free: 7.105 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/1.039, allocations: 330.4 kB / 1.443 GB, free: 6.762 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/1.039, allocations: 11.98 kB / 1.443 GB, free: 6.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007935/1.04, allocations: 63.94 kB / 1.443 GB, free: 6.688 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/1.04, allocations: 27.86 kB / 1.443 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/1.04, allocations: 15.94 kB / 1.443 GB, free: 6.645 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001968/1.042, allocations: 1.539 MB / 1.445 GB, free: 5.094 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.51e-07/1.042, allocations: 0 / 1.445 GB, free: 5.094 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001866/1.044, allocations: 0.8152 MB / 1.446 GB, free: 4.277 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.00173/1.046, allocations: 1.482 MB / 1.447 GB, free: 2.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002411/1.048, allocations: 1.435 MB / 1.448 GB, free: 1.297 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.048, allocations: 4 kB / 1.448 GB, free: 1.293 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/1.049, allocations: 133.4 kB / 1.449 GB, free: 1.164 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00492/1.054, allocations: 1.005 MB / 1.449 GB, free: 180 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03113/1.085, allocations: 15.59 MB / 1.465 GB, free: 15.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/1.086, allocations: 1.485 MB / 1.466 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001785/1.088, allocations: 448.6 kB / 1.467 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007937/1.088, allocations: 0.7258 MB / 1.467 GB, free: 12.62 MB / 1.076 GB Notification: Performance of SimCode: time 9.42e-07/1.088, allocations: 0 / 1.467 GB, free: 12.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.684/3.773, allocations: 50.33 MB / 1.516 GB, free: 10.86 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/3.773, allocations: 212.7 kB / 1.517 GB, free: 10.61 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.958/8.73, allocations: 0 / 1.517 GB, free: 10.61 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches