Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7611 GB, free: 15.74 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 1.104 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.924, allocations: 168.7 MB / 1.269 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1911/1.115, allocations: 157.3 MB / 1.422 GB, free: 3.293 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02772/1.143, allocations: 21.82 MB / 1.444 GB, free: 1.453 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/1.145, allocations: 54.91 kB / 1.444 GB, free: 1.434 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/1.147, allocations: 1.163 MB / 1.445 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/1.148, allocations: 0.8618 MB / 1.446 GB, free: 88 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/1.149, allocations: 458.4 kB / 1.446 GB, free: 15.64 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00137/1.151, allocations: 1.251 MB / 1.447 GB, free: 14.39 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006919/1.151, allocations: 0.562 MB / 1.448 GB, free: 13.82 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006589/1.152, allocations: 0.5608 MB / 1.448 GB, free: 13.26 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/1.153, allocations: 0.9995 MB / 1.449 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.963e-05/1.153, allocations: 64 kB / 1.449 GB, free: 12.19 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/1.153, allocations: 111.9 kB / 1.45 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/1.154, allocations: 316.7 kB / 1.45 GB, free: 11.77 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004317/1.154, allocations: 496.8 kB / 1.45 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/1.155, allocations: 1.209 MB / 1.452 GB, free: 10.07 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.155, allocations: 3.938 kB / 1.452 GB, free: 10.07 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.352e-06/1.155, allocations: 0 / 1.452 GB, free: 10.07 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.156e-05/1.155, allocations: 4 kB / 1.452 GB, free: 10.06 MB / 1.139 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.002328/1.158, allocations: 1.517 MB / 1.453 GB, free: 8.492 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/1.158, allocations: 8.031 kB / 1.453 GB, free: 8.484 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/1.158, allocations: 94.69 kB / 1.453 GB, free: 8.383 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/1.158, allocations: 144 kB / 1.453 GB, free: 8.242 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/1.159, allocations: 0.6715 MB / 1.454 GB, free: 7.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/1.159, allocations: 70.69 kB / 1.454 GB, free: 7.441 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/1.159, allocations: 44 kB / 1.454 GB, free: 7.398 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/1.16, allocations: 0.5184 MB / 1.455 GB, free: 6.867 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/1.16, allocations: 3.953 kB / 1.455 GB, free: 6.863 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/1.16, allocations: 23.98 kB / 1.455 GB, free: 6.84 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/1.16, allocations: 12 kB / 1.455 GB, free: 6.828 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/1.161, allocations: 415.7 kB / 1.455 GB, free: 6.422 MB / 1.139 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.003713/1.165, allocations: 2.788 MB / 1.458 GB, free: 3.387 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/1.166, allocations: 431.8 kB / 1.458 GB, free: 2.957 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/1.166, allocations: 266.7 kB / 1.458 GB, free: 2.695 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/1.166, allocations: 4.328 kB / 1.458 GB, free: 2.691 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/1.167, allocations: 302.7 kB / 1.459 GB, free: 2.387 MB / 1.139 GB Notification: Performance of pre-optimization done (n=45): time 1.783e-06/1.167, allocations: 0 / 1.459 GB, free: 2.387 MB / 1.139 GB Notification: Performance of matching and sorting (n=45): time 0.002908/1.17, allocations: 1.241 MB / 1.46 GB, free: 1.094 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/1.17, allocations: 55.41 kB / 1.46 GB, free: 1.027 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/1.172, allocations: 1.752 MB / 1.462 GB, free: 15.27 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/1.172, allocations: 37.7 kB / 1.462 GB, free: 15.22 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/1.172, allocations: 0.5261 MB / 1.462 GB, free: 14.69 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/1.173, allocations: 154.8 kB / 1.462 GB, free: 14.54 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/1.173, allocations: 98.2 kB / 1.462 GB, free: 14.44 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.173, allocations: 326 kB / 1.463 GB, free: 14.11 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/1.173, allocations: 217 kB / 1.463 GB, free: 13.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/1.174, allocations: 328.8 kB / 1.463 GB, free: 13.54 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009352/1.175, allocations: 0.514 MB / 1.464 GB, free: 12.99 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/1.175, allocations: 7.938 kB / 1.464 GB, free: 12.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00162/1.176, allocations: 0.8447 MB / 1.465 GB, free: 12.13 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.176, allocations: 8 kB / 1.465 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.176, allocations: 4 kB / 1.465 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005144/1.177, allocations: 188.8 kB / 1.465 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/1.177, allocations: 95.81 kB / 1.465 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/1.181, allocations: 2.996 MB / 1.468 GB, free: 8.707 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/1.181, allocations: 79.59 kB / 1.468 GB, free: 8.629 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/1.181, allocations: 23.98 kB / 1.468 GB, free: 8.605 MB / 1.154 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.0004796/1.182, allocations: 388.2 kB / 1.468 GB, free: 8.215 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/1.182, allocations: 123.2 kB / 1.468 GB, free: 8.094 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/1.182, allocations: 139.7 kB / 1.468 GB, free: 7.949 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.182, allocations: 4 kB / 1.469 GB, free: 7.945 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.182, allocations: 8 kB / 1.469 GB, free: 7.938 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.182, allocations: 3.984 kB / 1.469 GB, free: 7.934 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/1.185, allocations: 1.556 MB / 1.47 GB, free: 6.32 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.185, allocations: 0 / 1.47 GB, free: 6.32 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/1.185, allocations: 51.84 kB / 1.47 GB, free: 6.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004708/1.185, allocations: 193.6 kB / 1.47 GB, free: 6.074 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/1.186, allocations: 15.98 kB / 1.47 GB, free: 6.059 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004772/1.19, allocations: 4.553 MB / 1.475 GB, free: 1.234 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.19, allocations: 0 / 1.475 GB, free: 1.234 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/1.192, allocations: 1.051 MB / 1.476 GB, free: 164 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/1.193, allocations: 228.2 kB / 1.476 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/1.193, allocations: 15.98 kB / 1.476 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/1.193, allocations: 27.97 kB / 1.476 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.193, allocations: 51.92 kB / 1.476 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/1.193, allocations: 16 kB / 1.476 GB, free: 15.81 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001444/1.195, allocations: 1.281 MB / 1.477 GB, free: 14.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.195, allocations: 0 / 1.477 GB, free: 14.52 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007085/1.195, allocations: 199.8 kB / 1.478 GB, free: 14.33 MB / 1.17 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.003709/1.199, allocations: 1.997 MB / 1.479 GB, free: 12.5 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001489/1.2, allocations: 0.6877 MB / 1.48 GB, free: 11.8 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.2, allocations: 0 / 1.48 GB, free: 11.8 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008711/1.201, allocations: 0.5327 MB / 1.481 GB, free: 11.24 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008964/1.202, allocations: 208 kB / 1.481 GB, free: 11.04 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/1.214, allocations: 8.598 MB / 1.489 GB, free: 2.23 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008564/1.215, allocations: 1.161 MB / 1.49 GB, free: 1.039 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002537/1.215, allocations: 88.78 kB / 1.49 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/1.216, allocations: 403.3 kB / 1.491 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of SimCode: time 8.12e-07/1.216, allocations: 0 / 1.491 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/1.692, allocations: 21.38 MB / 1.512 GB, free: 11.46 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/14.15, allocations: 0 / 1.512 GB, free: 11.46 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 23.942981337197125]