Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004426/0.004426, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001135, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 279.1 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8981/0.8981, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 98.44 kB / 0.6809 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1518, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4952/0.647, allocations: 156.7 MB / 0.9189 GB, free: 6.504 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02361/0.6706, allocations: 21.76 MB / 0.9402 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.6735, allocations: 51.75 kB / 0.9402 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.6751, allocations: 1.161 MB / 0.9414 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.6765, allocations: 0.868 MB / 0.9422 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.6778, allocations: 451.8 kB / 0.9426 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.6793, allocations: 1.251 MB / 0.9439 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.68, allocations: 0.692 MB / 0.9445 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006301/0.6807, allocations: 0.5491 MB / 0.9451 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009335/0.6816, allocations: 0.9177 MB / 0.946 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.681e-05/0.6817, allocations: 64 kB / 0.946 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.682, allocations: 108 kB / 0.9461 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.6824, allocations: 324.6 kB / 0.9464 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.6829, allocations: 0.489 MB / 0.9469 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.6842, allocations: 1.183 MB / 0.9481 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6842, allocations: 8 kB / 0.9481 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6843, allocations: 0 / 0.9481 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.6843, allocations: 0 / 0.9481 GB, free: 8.566 MB / 0.7012 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.002454/0.6867, allocations: 1.483 MB / 0.9495 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6868, allocations: 11.97 kB / 0.9495 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.753e-05/0.6869, allocations: 86.7 kB / 0.9496 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.6871, allocations: 135.2 kB / 0.9498 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007936/0.6879, allocations: 0.6706 MB / 0.9504 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.688, allocations: 70.69 kB / 0.9505 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.6881, allocations: 44 kB / 0.9505 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008418/0.6889, allocations: 0.5184 MB / 0.951 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.689, allocations: 11.91 kB / 0.951 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.689, allocations: 23.94 kB / 0.9511 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.6891, allocations: 12 kB / 0.9511 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.6898, allocations: 411.7 kB / 0.9515 GB, free: 4.969 MB / 0.7012 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.003063/0.6929, allocations: 2.716 MB / 0.9541 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.6938, allocations: 440.3 kB / 0.9545 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.6943, allocations: 312.3 kB / 0.9548 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.6944, allocations: 4.328 kB / 0.9548 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004966/0.6949, allocations: 284.1 kB / 0.9551 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/0.6949, allocations: 0 / 0.9551 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.002395/0.6973, allocations: 1.144 MB / 0.9562 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.6974, allocations: 55.41 kB / 0.9563 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.699, allocations: 1.768 MB / 0.958 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.699, allocations: 37.7 kB / 0.958 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.6994, allocations: 0.5288 MB / 0.9586 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.6995, allocations: 142 kB / 0.9587 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.6997, allocations: 106.1 kB / 0.9588 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.6998, allocations: 322 kB / 0.9591 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.7002, allocations: 221 kB / 0.9593 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.7007, allocations: 331.2 kB / 0.9596 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/0.7015, allocations: 0.5084 MB / 0.9601 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.7015, allocations: 3.938 kB / 0.9601 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001392/0.7029, allocations: 0.8192 MB / 0.9609 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.703, allocations: 8 kB / 0.9609 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.703, allocations: 4 kB / 0.9609 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/0.7034, allocations: 145.6 kB / 0.9611 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.7037, allocations: 99.81 kB / 0.9612 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/0.7065, allocations: 2.604 MB / 0.9637 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.7069, allocations: 71.41 kB / 0.9638 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.7069, allocations: 20 kB / 0.9638 GB, free: 7.738 MB / 0.7169 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.0004303/0.7074, allocations: 397.4 kB / 0.9642 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.7075, allocations: 122.4 kB / 0.9643 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.7077, allocations: 139.7 kB / 0.9644 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.7077, allocations: 7.938 kB / 0.9644 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.7077, allocations: 4 kB / 0.9644 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7077, allocations: 0 / 0.9644 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.7098, allocations: 1.49 MB / 0.9659 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7098, allocations: 0 / 0.9659 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.71, allocations: 51.91 kB / 0.966 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/0.7104, allocations: 157.6 kB / 0.9661 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.7104, allocations: 8 kB / 0.9661 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/0.7137, allocations: 4.034 MB / 0.97 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7137, allocations: 0 / 0.97 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.7152, allocations: 0.9891 MB / 0.971 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.7155, allocations: 219.6 kB / 0.9712 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.7156, allocations: 12 kB / 0.9712 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.7158, allocations: 23.97 kB / 0.9713 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.716, allocations: 55.92 kB / 0.9713 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.716, allocations: 19.92 kB / 0.9713 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001213/0.7172, allocations: 1.289 MB / 0.9726 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7172, allocations: 0 / 0.9726 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006625/0.7179, allocations: 191.8 kB / 0.9728 GB, free: 14.16 MB / 0.7325 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.002688/0.7206, allocations: 1.913 MB / 0.9746 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.7219, allocations: 0.6624 MB / 0.9753 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7219, allocations: 0 / 0.9753 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007415/0.7226, allocations: 0.5249 MB / 0.9758 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/0.7235, allocations: 212.2 kB / 0.976 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.7341, allocations: 8.498 MB / 0.9843 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.7348, allocations: 1.153 MB / 0.9854 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.7351, allocations: 88.78 kB / 0.9855 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/0.7356, allocations: 403.3 kB / 0.9859 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.7356, allocations: 0 / 0.9859 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04872/0.7843, allocations: 20.87 MB / 1.006 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.68, allocations: 11.64 kB / 1.006 GB, free: 12.05 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)