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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009749/0.0009749, allocations: 98.09 kB / 16.02 MB, free: 76 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.001466/0.001467, allocations: 182.9 kB / 16.92 MB, free: 6.918 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.511/1.511, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.744/2.744, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004136, allocations: 16 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7276, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.026/1.753, allocations: 336.2 MB / 1.352 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04794/1.801, allocations: 38.21 MB / 1.389 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007853/1.809, allocations: 118.7 kB / 1.389 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01286/1.822, allocations: 5.205 MB / 1.395 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01674/1.839, allocations: 5.436 MB / 1.4 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00884/1.848, allocations: 2.781 MB / 1.403 GB, free: 5.523 MB / 0.9981 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.108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0197/1.867, allocations: 14.35 MB / 1.417 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006629/1.874, allocations: 3.451 MB / 1.42 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/1.886, allocations: 4.156 MB / 1.424 GB, free: 7.293 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007718/1.894, allocations: 2.602 MB / 1.427 GB, free: 4.895 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/1.895, allocations: 127.9 kB / 1.427 GB, free: 4.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/1.909, allocations: 5.925 MB / 1.432 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002472/1.911, allocations: 1.123 MB / 1.434 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004032/1.915, allocations: 1.935 MB / 1.435 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009957/1.925, allocations: 5.706 MB / 1.441 GB, free: 6.938 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.925, allocations: 0 / 1.441 GB, free: 6.938 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.595e-06/1.925, allocations: 4 kB / 1.441 GB, free: 6.934 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001813/1.925, allocations: 0 / 1.441 GB, free: 6.934 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.009629/1.935, allocations: 4.001 MB / 1.445 GB, free: 2.883 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.935, allocations: 15.98 kB / 1.445 GB, free: 2.867 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009708/1.945, allocations: 1.574 MB / 1.446 GB, free: 1.293 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008413/1.953, allocations: 3.753 MB / 1.45 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/1.954, allocations: 482 kB / 1.451 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006349/1.955, allocations: 271.6 kB / 1.451 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007494/1.963, allocations: 3.425 MB / 1.454 GB, free: 9.266 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.222e-05/1.963, allocations: 3.938 kB / 1.454 GB, free: 9.262 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/1.963, allocations: 104 kB / 1.454 GB, free: 9.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/1.963, allocations: 108.9 kB / 1.454 GB, free: 9.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007658/1.971, allocations: 3.099 MB / 1.457 GB, free: 5.938 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.02372/1.995, allocations: 14.49 MB / 1.472 GB, free: 6.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003791/1.998, allocations: 1.613 MB / 1.473 GB, free: 4.855 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/2, allocations: 0.7073 MB / 1.474 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004424/2.001, allocations: 312 kB / 1.474 GB, free: 3.785 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001992/2.003, allocations: 0.8215 MB / 1.475 GB, free: 2.941 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001772/2.004, allocations: 118.5 kB / 1.475 GB, free: 2.824 MB / 1.061 GB Notification: Performance of pre-optimization done (n=105): time 5.461e-06/2.004, allocations: 0 / 1.475 GB, free: 2.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=105): time 0.006491/2.011, allocations: 2.228 MB / 1.477 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/2.011, allocations: 115.8 kB / 1.477 GB, free: 440 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006231/2.017, allocations: 3.096 MB / 1.48 GB, free: 13.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002272/2.017, allocations: 53.7 kB / 1.48 GB, free: 13.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001909/2.019, allocations: 1.725 MB / 1.482 GB, free: 11.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005037/2.02, allocations: 384.2 kB / 1.482 GB, free: 11.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/2.02, allocations: 210.1 kB / 1.483 GB, free: 10.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001097/2.02, allocations: 305.1 kB / 1.483 GB, free: 10.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002546/2.023, allocations: 0.9606 MB / 1.484 GB, free: 9.711 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003212/2.026, allocations: 1.738 MB / 1.486 GB, free: 7.633 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/2.031, allocations: 2.543 MB / 1.488 GB, free: 4.793 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.68e-05/2.031, allocations: 4 kB / 1.488 GB, free: 4.789 MB / 1.076 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.007157/2.039, allocations: 2.998 MB / 1.491 GB, free: 1.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006089/2.039, allocations: 0.7614 MB / 1.492 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/2.039, allocations: 24 kB / 1.492 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.286e-05/2.039, allocations: 36 kB / 1.492 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/2.042, allocations: 0.5188 MB / 1.492 GB, free: 128 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-05/2.042, allocations: 55.78 kB / 1.492 GB, free: 72 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/2.046, allocations: 488.8 kB / 1.493 GB, free: 15.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/2.046, allocations: 99.98 kB / 1.493 GB, free: 15.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/2.046, allocations: 5.094 kB / 1.493 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00601/2.052, allocations: 2.705 MB / 1.496 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.549e-05/2.052, allocations: 23.94 kB / 1.496 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/2.052, allocations: 32 kB / 1.496 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/2.054, allocations: 0.5228 MB / 1.496 GB, free: 12.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-05/2.054, allocations: 51.78 kB / 1.496 GB, free: 12.15 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/2.058, allocations: 419.8 kB / 1.497 GB, free: 11.74 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/2.058, allocations: 99.97 kB / 1.497 GB, free: 11.64 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.002035/2.06, allocations: 1.001 MB / 1.498 GB, free: 10.63 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007817/2.061, allocations: 300.2 kB / 1.498 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/2.065, allocations: 1.714 MB / 1.5 GB, free: 8.594 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/2.065, allocations: 8 kB / 1.5 GB, free: 8.586 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/2.065, allocations: 0 / 1.5 GB, free: 8.586 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003207/2.069, allocations: 1.329 MB / 1.501 GB, free: 7.227 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/2.079, allocations: 4.715 MB / 1.506 GB, free: 2.348 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/2.079, allocations: 4 kB / 1.506 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/2.081, allocations: 256.2 kB / 1.506 GB, free: 2.094 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/2.081, allocations: 52.83 kB / 1.506 GB, free: 2.039 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/2.081, allocations: 35.92 kB / 1.506 GB, free: 2.004 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/2.083, allocations: 1.436 MB / 1.507 GB, free: 444 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/2.083, allocations: 7.938 kB / 1.507 GB, free: 436 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006059/2.089, allocations: 2.568 MB / 1.51 GB, free: 13.75 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/2.09, allocations: 0.5283 MB / 1.51 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006935/2.091, allocations: 39.94 kB / 1.51 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/2.094, allocations: 251.6 kB / 1.511 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/2.094, allocations: 92.38 kB / 1.511 GB, free: 12.83 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/2.094, allocations: 55.97 kB / 1.511 GB, free: 12.77 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.004084/2.098, allocations: 2.079 MB / 1.513 GB, free: 10.71 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.7e-07/2.098, allocations: 4 kB / 1.513 GB, free: 10.7 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005515/2.104, allocations: 1.733 MB / 1.514 GB, free: 8.965 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.001383/2.105, allocations: 0.5718 MB / 1.515 GB, free: 8.422 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008233/2.113, allocations: 3.476 MB / 1.518 GB, free: 4.926 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/2.113, allocations: 0 / 1.518 GB, free: 4.926 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/2.116, allocations: 0.8167 MB / 1.519 GB, free: 4.094 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.012/2.128, allocations: 1.38 MB / 1.521 GB, free: 2.727 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/2.144, allocations: 7.776 MB / 1.528 GB, free: 10.84 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003273/2.147, allocations: 2.27 MB / 1.53 GB, free: 8.539 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/2.148, allocations: 239.4 kB / 1.531 GB, free: 8.305 MB / 1.123 GB Notification: Performance of SimCode: time 1.133e-06/2.148, allocations: 4 kB / 1.531 GB, free: 8.301 MB / 1.123 GB Notification: Performance of Templates: time 0.09986/2.248, allocations: 61.06 MB / 1.59 GB, free: 11.52 MB / 1.186 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/jenkins1/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