Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001456/0.001456, allocations: 195.6 kB / 16.14 MB, free: 6.684 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 275.2 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 99.58 kB / 0.6057 GB, free: 25.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1606, allocations: 89.15 MB / 0.6928 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4317/0.5924, allocations: 154.4 MB / 0.8436 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02637/0.6188, allocations: 21.61 MB / 0.8647 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.6205, allocations: 50.31 kB / 0.8648 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.6221, allocations: 1.118 MB / 0.8659 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.6237, allocations: 0.8096 MB / 0.8666 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.6247, allocations: 395.5 kB / 0.867 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.626, allocations: 1.346 MB / 0.8683 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007257/0.6267, allocations: 0.6133 MB / 0.8689 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.6273, allocations: 0.4913 MB / 0.8694 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.6282, allocations: 0.912 MB / 0.8703 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.6283, allocations: 38.19 kB / 0.8703 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.6286, allocations: 78.62 kB / 0.8704 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.6289, allocations: 301 kB / 0.8707 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.6293, allocations: 467.6 kB / 0.8711 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.6304, allocations: 1.159 MB / 0.8723 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6304, allocations: 0 / 0.8723 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.466e-06/0.6304, allocations: 2.562 kB / 0.8723 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.6304, allocations: 3.938 kB / 0.8723 GB, free: 2.566 MB / 0.5919 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.002341/0.6328, allocations: 1.469 MB / 0.8737 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.6328, allocations: 10.62 kB / 0.8737 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.633, allocations: 138 kB / 0.8739 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/0.6339, allocations: 0.6552 MB / 0.8745 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.634, allocations: 74.44 kB / 0.8746 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.6341, allocations: 42.12 kB / 0.8746 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.6351, allocations: 0.5183 MB / 0.8751 GB, free: 416 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.6351, allocations: 2.812 kB / 0.8751 GB, free: 416 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/0.6352, allocations: 22.09 kB / 0.8751 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.6352, allocations: 10.41 kB / 0.8752 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/0.6361, allocations: 414.7 kB / 0.8755 GB, free: 188 kB / 0.5919 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.003778/0.6399, allocations: 2.734 MB / 0.8782 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.6409, allocations: 447.5 kB / 0.8786 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/0.6416, allocations: 301.9 kB / 0.8789 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.6417, allocations: 12.64 kB / 0.8789 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005947/0.6423, allocations: 279.5 kB / 0.8792 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.6423, allocations: 0 / 0.8792 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.002898/0.6452, allocations: 1.155 MB / 0.8803 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.6453, allocations: 55.41 kB / 0.8804 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.6474, allocations: 1.764 MB / 0.8821 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.6475, allocations: 41.7 kB / 0.8822 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.648, allocations: 0.5287 MB / 0.8827 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.6482, allocations: 142 kB / 0.8828 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.6484, allocations: 102.2 kB / 0.8829 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6485, allocations: 326 kB / 0.8832 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.649, allocations: 213 kB / 0.8834 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.6497, allocations: 335.2 kB / 0.8837 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.6507, allocations: 0.5198 MB / 0.8842 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6507, allocations: 7.938 kB / 0.8843 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001734/0.6524, allocations: 0.8051 MB / 0.885 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.6525, allocations: 15.92 kB / 0.8851 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.6525, allocations: 4 kB / 0.8851 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004505/0.6529, allocations: 133.4 kB / 0.8852 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.6534, allocations: 107.9 kB / 0.8853 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.6566, allocations: 2.376 MB / 0.8876 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.6572, allocations: 83.55 kB / 0.8877 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.6572, allocations: 23.94 kB / 0.8877 GB, free: 3.691 MB / 0.6075 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.0006168/0.6579, allocations: 380.7 kB / 0.8881 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.658, allocations: 122.5 kB / 0.8882 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.6582, allocations: 135.7 kB / 0.8883 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6583, allocations: 8 kB / 0.8883 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.6583, allocations: 7.938 kB / 0.8883 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.6583, allocations: 3.984 kB / 0.8883 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.6609, allocations: 1.489 MB / 0.8898 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6609, allocations: 0 / 0.8898 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.6612, allocations: 43.91 kB / 0.8898 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/0.6616, allocations: 172.8 kB / 0.89 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.6617, allocations: 12 kB / 0.89 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.6658, allocations: 3.683 MB / 0.8936 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.6658, allocations: 8.016 kB / 0.8936 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.6677, allocations: 0.979 MB / 0.8946 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.668, allocations: 215.5 kB / 0.8948 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/0.6681, allocations: 11.98 kB / 0.8948 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.6685, allocations: 51.78 kB / 0.8948 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.6686, allocations: 47.92 kB / 0.8949 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.6687, allocations: 15.98 kB / 0.8949 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001596/0.6703, allocations: 1.285 MB / 0.8962 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6703, allocations: 0 / 0.8962 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007832/0.6711, allocations: 207.7 kB / 0.8964 GB, free: 10.45 MB / 0.6231 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.001754/0.6728, allocations: 493.1 kB / 0.8968 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.6743, allocations: 0.6642 MB / 0.8975 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6743, allocations: 0.8125 kB / 0.8975 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008915/0.6752, allocations: 0.5247 MB / 0.898 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6763, allocations: 189.3 kB / 0.8982 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.6804, allocations: 2.698 MB / 0.9008 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000953/0.6814, allocations: 1.146 MB / 0.9019 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003671/0.6818, allocations: 88.78 kB / 0.902 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.6819, allocations: 47.42 kB / 0.9021 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.6819, allocations: 4 kB / 0.9021 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of Templates: time 0.0197/0.7016, allocations: 9.41 MB / 0.9112 GB, free: 11.43 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)