Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001078/0.001078, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 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.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 64.09 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8764, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2302/1.107, allocations: 156.8 MB / 1.32 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02695/1.134, allocations: 21.74 MB / 1.342 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/1.136, allocations: 55.69 kB / 1.342 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/1.138, allocations: 1.169 MB / 1.343 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/1.139, allocations: 0.8718 MB / 1.344 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/1.141, allocations: 446.1 kB / 1.344 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001482/1.142, allocations: 1.255 MB / 1.345 GB, free: 12.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008172/1.143, allocations: 0.6869 MB / 1.346 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/1.144, allocations: 0.5607 MB / 1.347 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/1.145, allocations: 0.9117 MB / 1.347 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/1.145, allocations: 71.98 kB / 1.347 GB, free: 10.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/1.145, allocations: 108 kB / 1.348 GB, free: 10.56 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/1.145, allocations: 312.7 kB / 1.348 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003931/1.146, allocations: 492.8 kB / 1.348 GB, free: 9.766 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/1.147, allocations: 1.202 MB / 1.35 GB, free: 8.562 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.147, allocations: 0 / 1.35 GB, free: 8.562 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.904e-06/1.147, allocations: 0 / 1.35 GB, free: 8.562 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.27e-05/1.147, allocations: 0 / 1.35 GB, free: 8.562 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.002337/1.149, allocations: 1.49 MB / 1.351 GB, free: 7.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.149, allocations: 8.922 kB / 1.351 GB, free: 7.012 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/1.15, allocations: 135.2 kB / 1.351 GB, free: 6.879 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/1.15, allocations: 0.6628 MB / 1.352 GB, free: 6.164 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/1.151, allocations: 74.69 kB / 1.352 GB, free: 6.082 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/1.151, allocations: 51.98 kB / 1.352 GB, free: 6.031 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009009/1.152, allocations: 0.5145 MB / 1.352 GB, free: 5.504 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.152, allocations: 0 / 1.352 GB, free: 5.504 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/1.152, allocations: 20 kB / 1.352 GB, free: 5.484 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/1.152, allocations: 12 kB / 1.352 GB, free: 5.473 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/1.152, allocations: 415.7 kB / 1.353 GB, free: 5.066 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.003643/1.156, allocations: 2.788 MB / 1.356 GB, free: 2.031 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009783/1.157, allocations: 455.9 kB / 1.356 GB, free: 1.578 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/1.158, allocations: 289.3 kB / 1.356 GB, free: 1.293 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/1.158, allocations: 4.328 kB / 1.356 GB, free: 1.289 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/1.158, allocations: 298.5 kB / 1.357 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 2.364e-06/1.158, allocations: 4 kB / 1.357 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.002889/1.161, allocations: 1.249 MB / 1.358 GB, free: 15.68 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.161, allocations: 55.41 kB / 1.358 GB, free: 15.62 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/1.163, allocations: 1.755 MB / 1.36 GB, free: 13.85 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/1.163, allocations: 41.69 kB / 1.36 GB, free: 13.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/1.164, allocations: 0.5102 MB / 1.36 GB, free: 13.29 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.164, allocations: 145.9 kB / 1.36 GB, free: 13.14 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.164, allocations: 98.25 kB / 1.36 GB, free: 13.04 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.164, allocations: 330 kB / 1.361 GB, free: 12.71 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/1.164, allocations: 217 kB / 1.361 GB, free: 12.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/1.165, allocations: 328.8 kB / 1.361 GB, free: 12.14 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/1.166, allocations: 0.5148 MB / 1.362 GB, free: 11.59 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.166, allocations: 0 / 1.362 GB, free: 11.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001633/1.168, allocations: 0.8472 MB / 1.362 GB, free: 10.74 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.168, allocations: 8 kB / 1.362 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.168, allocations: 0 / 1.362 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/1.168, allocations: 184.9 kB / 1.363 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/1.168, allocations: 95.81 kB / 1.363 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/1.172, allocations: 3.001 MB / 1.366 GB, free: 7.316 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/1.173, allocations: 75.48 kB / 1.366 GB, free: 7.242 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/1.173, allocations: 20.44 kB / 1.366 GB, free: 7.223 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005823/1.173, allocations: 388.9 kB / 1.366 GB, free: 6.836 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/1.173, allocations: 126.4 kB / 1.366 GB, free: 6.711 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/1.174, allocations: 135.7 kB / 1.366 GB, free: 6.57 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.174, allocations: 7.938 kB / 1.366 GB, free: 6.562 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.174, allocations: 4 kB / 1.366 GB, free: 6.559 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/1.174, allocations: 3.984 kB / 1.366 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/1.177, allocations: 1.56 MB / 1.368 GB, free: 4.938 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.177, allocations: 0 / 1.368 GB, free: 4.938 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/1.177, allocations: 63.89 kB / 1.368 GB, free: 4.875 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/1.177, allocations: 185.6 kB / 1.368 GB, free: 4.688 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/1.177, allocations: 11.98 kB / 1.368 GB, free: 4.676 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/1.182, allocations: 4.549 MB / 1.373 GB, free: 15.85 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.182, allocations: 0 / 1.373 GB, free: 15.85 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/1.184, allocations: 1.058 MB / 1.374 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/1.184, allocations: 219.5 kB / 1.374 GB, free: 14.54 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/1.184, allocations: 12 kB / 1.374 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/1.185, allocations: 23.97 kB / 1.374 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.185, allocations: 55.92 kB / 1.374 GB, free: 14.45 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/1.185, allocations: 12 kB / 1.374 GB, free: 14.43 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001582/1.187, allocations: 1.281 MB / 1.375 GB, free: 13.15 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.1e-07/1.187, allocations: 4 kB / 1.375 GB, free: 13.14 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008907/1.187, allocations: 207.7 kB / 1.375 GB, free: 12.94 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,13,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.001214/1.189, allocations: 489.7 kB / 1.376 GB, free: 12.65 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.19, allocations: 0.7272 MB / 1.377 GB, free: 11.91 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.19, allocations: 0 / 1.377 GB, free: 11.91 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009562/1.191, allocations: 0.5443 MB / 1.377 GB, free: 11.34 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.192, allocations: 202.5 kB / 1.377 GB, free: 11.15 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/1.197, allocations: 2.419 MB / 1.38 GB, free: 8.691 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009588/1.198, allocations: 1.138 MB / 1.381 GB, free: 7.527 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/1.198, allocations: 55.42 kB / 1.381 GB, free: 7.473 MB / 1.107 GB Notification: Performance of SimCode: time 5.71e-07/1.198, allocations: 0 / 1.381 GB, free: 7.473 MB / 1.107 GB Notification: Performance of Templates: time 0.02744/1.225, allocations: 17.89 MB / 1.398 GB, free: 5.598 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches