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: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, 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.001369/0.001369, allocations: 191 kB / 16.14 MB, free: 6.637 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002579/0.00258, allocations: 282.5 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.125/1.125, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 97.64 kB / 0.6057 GB, free: 25.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1611, allocations: 89.16 MB / 0.6928 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4662/0.6274, allocations: 154.4 MB / 0.8436 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02955/0.657, allocations: 21.62 MB / 0.8647 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00328/0.6603, allocations: 48.91 kB / 0.8648 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.6624, allocations: 1.125 MB / 0.8659 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.6659, allocations: 0.8103 MB / 0.8667 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.6686, allocations: 385.4 kB / 0.867 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002798/0.6714, allocations: 1.351 MB / 0.8683 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.673, allocations: 0.6107 MB / 0.8689 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.6741, allocations: 0.4949 MB / 0.8694 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.6758, allocations: 0.9076 MB / 0.8703 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.6761, allocations: 35.12 kB / 0.8703 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.6765, allocations: 78.64 kB / 0.8704 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.677, allocations: 307.8 kB / 0.8707 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007597/0.6777, allocations: 463.6 kB / 0.8712 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.6794, allocations: 1.156 MB / 0.8723 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6794, allocations: 0 / 0.8723 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6794, allocations: 0 / 0.8723 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.84e-05/0.6795, allocations: 0 / 0.8723 GB, free: 2.613 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.003474/0.683, allocations: 1.468 MB / 0.8737 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.683, allocations: 10.34 kB / 0.8737 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.6833, allocations: 141.6 kB / 0.8739 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.6845, allocations: 0.655 MB / 0.8745 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.6846, allocations: 68.59 kB / 0.8746 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.6847, allocations: 48.41 kB / 0.8746 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.6858, allocations: 0.5224 MB / 0.8751 GB, free: 460 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.6858, allocations: 7.969 kB / 0.8751 GB, free: 452 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.6859, allocations: 17.91 kB / 0.8751 GB, free: 440 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.6859, allocations: 9.656 kB / 0.8752 GB, free: 440 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.6868, allocations: 419.1 kB / 0.8756 GB, free: 228 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.004254/0.691, allocations: 2.732 MB / 0.8782 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.6922, allocations: 443.6 kB / 0.8786 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/0.6929, allocations: 313.9 kB / 0.8789 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.693, allocations: 5.031 kB / 0.879 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006116/0.6936, allocations: 283.1 kB / 0.8792 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.6936, allocations: 0 / 0.8792 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.003026/0.6966, allocations: 1.144 MB / 0.8803 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.6967, allocations: 67.27 kB / 0.8804 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.699, allocations: 1.768 MB / 0.8821 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/0.6991, allocations: 37.7 kB / 0.8822 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005233/0.6996, allocations: 0.5288 MB / 0.8827 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.6998, allocations: 146 kB / 0.8828 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.7, allocations: 94.25 kB / 0.8829 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7002, allocations: 334 kB / 0.8832 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.7008, allocations: 209 kB / 0.8834 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.7014, allocations: 335.2 kB / 0.8837 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.7024, allocations: 0.5159 MB / 0.8843 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.7025, allocations: 4 kB / 0.8843 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001784/0.7042, allocations: 0.8067 MB / 0.885 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.7043, allocations: 11.94 kB / 0.8851 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7043, allocations: 4 kB / 0.8851 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000451/0.7048, allocations: 136.9 kB / 0.8852 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.7052, allocations: 103.8 kB / 0.8853 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.7084, allocations: 2.395 MB / 0.8876 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.7089, allocations: 75.48 kB / 0.8877 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.709, allocations: 20 kB / 0.8877 GB, free: 3.766 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.0006329/0.7096, allocations: 384.8 kB / 0.8881 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.7099, allocations: 118.5 kB / 0.8882 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.7102, allocations: 139.7 kB / 0.8883 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.7102, allocations: 4 kB / 0.8883 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/0.7102, allocations: 7.938 kB / 0.8883 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.7102, allocations: 3.984 kB / 0.8883 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.7131, allocations: 1.489 MB / 0.8898 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7131, allocations: 0 / 0.8898 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.7133, allocations: 47.91 kB / 0.8898 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004464/0.7138, allocations: 165.5 kB / 0.89 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.7138, allocations: 15.98 kB / 0.89 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.7179, allocations: 3.693 MB / 0.8936 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7179, allocations: 0 / 0.8936 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.7199, allocations: 0.9867 MB / 0.8946 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.7203, allocations: 207.5 kB / 0.8948 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.7205, allocations: 16 kB / 0.8948 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.7209, allocations: 47.77 kB / 0.8948 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.721, allocations: 51.92 kB / 0.8949 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.7211, allocations: 12 kB / 0.8949 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001681/0.7228, allocations: 1.285 MB / 0.8962 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7228, allocations: 4 kB / 0.8962 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008869/0.7237, allocations: 211.6 kB / 0.8964 GB, free: 10.52 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.00183/0.7255, allocations: 484.9 kB / 0.8968 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.7271, allocations: 0.6586 MB / 0.8975 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7271, allocations: 0 / 0.8975 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009665/0.7281, allocations: 0.5251 MB / 0.898 GB, free: 9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.7293, allocations: 184.6 kB / 0.8982 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.7339, allocations: 2.69 MB / 0.9008 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.7349, allocations: 1.153 MB / 0.9019 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003853/0.7353, allocations: 96.77 kB / 0.902 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.7355, allocations: 39.44 kB / 0.902 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.7355, allocations: 0 / 0.902 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of Templates: time 0.02215/0.7576, allocations: 9.421 MB / 0.9112 GB, free: 11.49 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (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 & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)