Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008609/0.0008609, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00701/0.00701, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.798/2.798, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 8 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.699, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.067/1.766, allocations: 336.2 MB / 1.351 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04433/1.811, allocations: 38.22 MB / 1.389 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007447/1.818, allocations: 118.9 kB / 1.389 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0134/1.832, allocations: 5.201 MB / 1.394 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01914/1.851, allocations: 5.437 MB / 1.399 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/1.861, allocations: 2.77 MB / 1.402 GB, free: 5.492 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01983/1.881, allocations: 14.36 MB / 1.416 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008304/1.889, allocations: 3.447 MB / 1.419 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01565/1.905, allocations: 4.156 MB / 1.423 GB, free: 7.254 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009136/1.914, allocations: 2.598 MB / 1.426 GB, free: 4.859 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00203/1.916, allocations: 128 kB / 1.426 GB, free: 4.734 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01589/1.932, allocations: 5.928 MB / 1.432 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002829/1.935, allocations: 1.108 MB / 1.433 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005686/1.941, allocations: 1.937 MB / 1.435 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01833/1.959, allocations: 7.615 MB / 1.442 GB, free: 5.102 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.959, allocations: 0 / 1.442 GB, free: 5.102 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/1.959, allocations: 0 / 1.442 GB, free: 5.102 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003051/1.959, allocations: 0 / 1.442 GB, free: 5.102 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01422/1.974, allocations: 3.998 MB / 1.446 GB, free: 1.055 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.974, allocations: 11.98 kB / 1.446 GB, free: 1.043 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/1.984, allocations: 1.583 MB / 1.448 GB, free: 15.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/1.994, allocations: 3.756 MB / 1.451 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00139/1.996, allocations: 485.8 kB / 1.452 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/1.997, allocations: 259.9 kB / 1.452 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/2.008, allocations: 3.432 MB / 1.455 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.166e-05/2.008, allocations: 4 kB / 1.455 GB, free: 7.426 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000355/2.008, allocations: 104 kB / 1.455 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/2.008, allocations: 100.9 kB / 1.456 GB, free: 7.223 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007874/2.016, allocations: 3.107 MB / 1.459 GB, free: 4.102 MB / 1.045 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.02533/2.042, allocations: 14.48 MB / 1.473 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/2.045, allocations: 1.621 MB / 1.474 GB, free: 3.012 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/2.047, allocations: 0.7033 MB / 1.475 GB, free: 2.301 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/2.048, allocations: 295.6 kB / 1.475 GB, free: 1.961 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002267/2.05, allocations: 0.8269 MB / 1.476 GB, free: 1.113 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00271/2.053, allocations: 126.5 kB / 1.476 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of pre-optimization done (n=105): time 6.552e-06/2.053, allocations: 0 / 1.476 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of matching and sorting (n=105): time 0.006675/2.059, allocations: 2.228 MB / 1.478 GB, free: 14.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/2.059, allocations: 115.8 kB / 1.479 GB, free: 14.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00552/2.065, allocations: 3.096 MB / 1.482 GB, free: 11.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003266/2.065, allocations: 52.98 kB / 1.482 GB, free: 11.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/2.067, allocations: 1.729 MB / 1.483 GB, free: 9.719 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/2.067, allocations: 390.2 kB / 1.484 GB, free: 9.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/2.068, allocations: 202.1 kB / 1.484 GB, free: 9.137 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001155/2.068, allocations: 305.1 kB / 1.484 GB, free: 8.836 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/2.07, allocations: 0.9567 MB / 1.485 GB, free: 7.879 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/2.073, allocations: 1.742 MB / 1.487 GB, free: 5.797 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004607/2.078, allocations: 2.542 MB / 1.489 GB, free: 2.957 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/2.078, allocations: 8 kB / 1.489 GB, free: 2.949 MB / 1.076 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006603/2.084, allocations: 2.99 MB / 1.492 GB, free: 15.94 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005356/2.085, allocations: 0.7639 MB / 1.493 GB, free: 14.87 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/2.085, allocations: 27.98 kB / 1.493 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.562e-05/2.085, allocations: 32 kB / 1.493 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/2.087, allocations: 0.5304 MB / 1.493 GB, free: 14.28 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.991e-05/2.087, allocations: 43.86 kB / 1.494 GB, free: 14.24 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/2.092, allocations: 492.8 kB / 1.494 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003327/2.092, allocations: 99.97 kB / 1.494 GB, free: 13.66 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/2.092, allocations: 4 kB / 1.494 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006197/2.098, allocations: 2.698 MB / 1.497 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/2.098, allocations: 24.47 kB / 1.497 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/2.098, allocations: 36 kB / 1.497 GB, free: 10.89 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/2.101, allocations: 0.5188 MB / 1.497 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.323e-05/2.101, allocations: 55.73 kB / 1.497 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/2.105, allocations: 415.7 kB / 1.498 GB, free: 9.91 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/2.105, allocations: 104 kB / 1.498 GB, free: 9.809 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 245 * Array equations: 2 * Algorithm blocks: 1 * 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.002652/2.108, allocations: 0.9883 MB / 1.499 GB, free: 8.809 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009424/2.109, allocations: 308.2 kB / 1.499 GB, free: 8.504 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004603/2.113, allocations: 1.714 MB / 1.501 GB, free: 6.762 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/2.113, allocations: 12 kB / 1.501 GB, free: 6.75 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/2.113, allocations: 4 kB / 1.501 GB, free: 6.746 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003195/2.117, allocations: 1.325 MB / 1.502 GB, free: 5.391 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/2.128, allocations: 4.726 MB / 1.507 GB, free: 0.5039 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/2.128, allocations: 8 kB / 1.507 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/2.129, allocations: 252.1 kB / 1.507 GB, free: 256 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/2.129, allocations: 52.83 kB / 1.507 GB, free: 200 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/2.13, allocations: 31.98 kB / 1.507 GB, free: 168 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/2.131, allocations: 1.429 MB / 1.508 GB, free: 14.6 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/2.131, allocations: 11.94 kB / 1.508 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/2.137, allocations: 2.564 MB / 1.511 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/2.139, allocations: 0.5361 MB / 1.511 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/2.14, allocations: 31.92 kB / 1.512 GB, free: 11.33 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/2.142, allocations: 255.6 kB / 1.512 GB, free: 11.08 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/2.142, allocations: 92.36 kB / 1.512 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/2.143, allocations: 51.97 kB / 1.512 GB, free: 10.94 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003694/2.146, allocations: 2.083 MB / 1.514 GB, free: 8.871 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.6e-07/2.146, allocations: 3.938 kB / 1.514 GB, free: 8.867 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004976/2.151, allocations: 1.729 MB / 1.516 GB, free: 7.133 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/2.153, allocations: 0.5775 MB / 1.516 GB, free: 6.582 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007737/2.16, allocations: 3.479 MB / 1.52 GB, free: 3.086 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/2.16, allocations: 4 kB / 1.52 GB, free: 3.082 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/2.162, allocations: 0.8317 MB / 1.52 GB, free: 2.234 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01017/2.173, allocations: 1.377 MB / 1.522 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/2.186, allocations: 7.658 MB / 1.529 GB, free: 9.098 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/2.189, allocations: 2.303 MB / 1.531 GB, free: 6.766 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00443/2.193, allocations: 0.8873 MB / 1.532 GB, free: 5.871 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/2.194, allocations: 219.4 kB / 1.533 GB, free: 5.656 MB / 1.123 GB Notification: Performance of SimCode: time 1.503e-06/2.194, allocations: 0 / 1.533 GB, free: 5.656 MB / 1.123 GB Notification: Performance of Templates: time 0.1012/2.295, allocations: 52.8 MB / 1.584 GB, free: 1.547 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches