Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001134/0.001134, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.35/2.35, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 63.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.7006, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1687/0.8693, allocations: 156.8 MB / 1.32 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.8955, allocations: 21.76 MB / 1.342 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.8971, allocations: 51.75 kB / 1.342 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.8988, allocations: 1.169 MB / 1.343 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.9002, allocations: 0.8602 MB / 1.344 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.9013, allocations: 453.1 kB / 1.344 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.9026, allocations: 1.263 MB / 1.345 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007937/0.9034, allocations: 0.6675 MB / 1.346 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.904, allocations: 0.5647 MB / 1.347 GB, free: 11.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000975/0.905, allocations: 0.9138 MB / 1.347 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.639e-05/0.9051, allocations: 64 kB / 1.347 GB, free: 10.65 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.9054, allocations: 115.9 kB / 1.348 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.9056, allocations: 316.8 kB / 1.348 GB, free: 10.22 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.9061, allocations: 492.8 kB / 1.348 GB, free: 9.738 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.9073, allocations: 1.206 MB / 1.35 GB, free: 8.531 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9073, allocations: 3.938 kB / 1.35 GB, free: 8.527 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9073, allocations: 0 / 1.35 GB, free: 8.527 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.9074, allocations: 0 / 1.35 GB, free: 8.527 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002215/0.9096, allocations: 1.527 MB / 1.351 GB, free: 6.949 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.9096, allocations: 12.62 kB / 1.351 GB, free: 6.938 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.9098, allocations: 144 kB / 1.351 GB, free: 6.797 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/0.9107, allocations: 0.6756 MB / 1.352 GB, free: 6.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.9108, allocations: 66.69 kB / 1.352 GB, free: 5.996 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.9109, allocations: 48 kB / 1.352 GB, free: 5.949 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009264/0.9118, allocations: 0.5223 MB / 1.352 GB, free: 5.414 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.9118, allocations: 0 / 1.352 GB, free: 5.414 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.9119, allocations: 23.97 kB / 1.352 GB, free: 5.391 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.9119, allocations: 15.94 kB / 1.352 GB, free: 5.375 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/0.9128, allocations: 419.7 kB / 1.353 GB, free: 4.965 MB / 1.076 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.003492/0.9163, allocations: 2.732 MB / 1.356 GB, free: 2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.9172, allocations: 441.6 kB / 1.356 GB, free: 1.562 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.9179, allocations: 301.3 kB / 1.356 GB, free: 1.266 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.9179, allocations: 4.328 kB / 1.356 GB, free: 1.262 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005437/0.9185, allocations: 284.1 kB / 1.357 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.9185, allocations: 3.938 kB / 1.357 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.002584/0.9211, allocations: 1.157 MB / 1.358 GB, free: 15.76 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.9212, allocations: 63.39 kB / 1.358 GB, free: 15.68 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.923, allocations: 1.76 MB / 1.359 GB, free: 13.91 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.9231, allocations: 37.7 kB / 1.359 GB, free: 13.87 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.9235, allocations: 0.5331 MB / 1.36 GB, free: 13.34 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.9237, allocations: 150.8 kB / 1.36 GB, free: 13.19 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.9238, allocations: 102.2 kB / 1.36 GB, free: 13.08 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.924, allocations: 326 kB / 1.361 GB, free: 12.76 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.9245, allocations: 213 kB / 1.361 GB, free: 12.55 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.925, allocations: 335.1 kB / 1.361 GB, free: 12.18 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/0.9259, allocations: 0.514 MB / 1.362 GB, free: 11.61 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9259, allocations: 3.938 kB / 1.362 GB, free: 11.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00152/0.9275, allocations: 0.82 MB / 1.362 GB, free: 10.78 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.9275, allocations: 8 kB / 1.362 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.9275, allocations: 4 kB / 1.362 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004156/0.9279, allocations: 132.8 kB / 1.363 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.9283, allocations: 99.91 kB / 1.363 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.9312, allocations: 2.601 MB / 1.365 GB, free: 7.809 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.9317, allocations: 79.64 kB / 1.365 GB, free: 7.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.9317, allocations: 20 kB / 1.365 GB, free: 7.711 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004861/0.9322, allocations: 393.5 kB / 1.366 GB, free: 7.32 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.9323, allocations: 123.1 kB / 1.366 GB, free: 7.199 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.9326, allocations: 139.7 kB / 1.366 GB, free: 7.059 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.9326, allocations: 4 kB / 1.366 GB, free: 7.055 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.9326, allocations: 12 kB / 1.366 GB, free: 7.043 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.9326, allocations: 3.984 kB / 1.366 GB, free: 7.039 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.9349, allocations: 1.489 MB / 1.367 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9349, allocations: 0 / 1.367 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.9351, allocations: 43.91 kB / 1.367 GB, free: 5.445 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003909/0.9355, allocations: 166.7 kB / 1.368 GB, free: 5.277 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.9356, allocations: 15.98 kB / 1.368 GB, free: 5.262 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/0.9394, allocations: 4.029 MB / 1.372 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9395, allocations: 3.938 kB / 1.372 GB, free: 0.957 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.9412, allocations: 0.9975 MB / 1.372 GB, free: 15.93 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.9415, allocations: 220.2 kB / 1.373 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-05/0.9416, allocations: 12 kB / 1.373 GB, free: 15.69 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.9419, allocations: 31.95 kB / 1.373 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.942, allocations: 47.94 kB / 1.373 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.9421, allocations: 23.92 kB / 1.373 GB, free: 15.59 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001459/0.9435, allocations: 1.289 MB / 1.374 GB, free: 14.29 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9435, allocations: 0 / 1.374 GB, free: 14.29 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007027/0.9442, allocations: 195.8 kB / 1.374 GB, free: 14.1 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00168/0.9459, allocations: 488.7 kB / 1.375 GB, free: 13.8 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.9474, allocations: 0.6621 MB / 1.375 GB, free: 13.12 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9474, allocations: 4.875 kB / 1.375 GB, free: 13.12 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000841/0.9483, allocations: 0.536 MB / 1.376 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.9492, allocations: 198.2 kB / 1.376 GB, free: 12.37 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.953, allocations: 2.386 MB / 1.378 GB, free: 9.949 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/0.9538, allocations: 1.149 MB / 1.38 GB, free: 8.773 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002929/0.9541, allocations: 100.8 kB / 1.38 GB, free: 8.672 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.9542, allocations: 47.42 kB / 1.38 GB, free: 8.625 MB / 1.107 GB Notification: Performance of SimCode: time 5.61e-07/0.9542, allocations: 0 / 1.38 GB, free: 8.625 MB / 1.107 GB Notification: Performance of Templates: time 0.01986/0.9741, allocations: 10.18 MB / 1.39 GB, free: 14.54 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches