Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.TZon|dam.TColSup|dam.THotSup|dam.uCoo|dam.uHea|dam.VColDucDis_flow_Set|dam.VHotDucDis_flow_Set|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.TZon|dam.TColSup|dam.THotSup|dam.uCoo|dam.uHea|dam.VColDucDis_flow_Set|dam.VHotDucDis_flow_Set|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 106.2 kB / 16.42 MB, free: 6.504 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.001098/0.001098, allocations: 189.5 kB / 17.36 MB, free: 5.727 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.976/1.976, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.535e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors): time 0.007049/0.007074, allocations: 6.876 MB / 0.9582 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.01224, allocations: 3.54 MB / 0.9617 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008527/0.01311, allocations: 55.75 kB / 0.9617 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.01368, allocations: 300.7 kB / 0.962 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.01424, allocations: 265.4 kB / 0.9623 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.01595, allocations: 1.075 MB / 0.9633 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.0182, allocations: 2.779 MB / 0.966 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.01986, allocations: 1.352 MB / 0.9674 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.02094, allocations: 0.9186 MB / 0.9682 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007062/0.02166, allocations: 0.9447 MB / 0.9692 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002574/0.02192, allocations: 276 kB / 0.9694 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.02221, allocations: 287.9 kB / 0.9697 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001664/0.02388, allocations: 3.139 MB / 0.9728 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0009726/0.02486, allocations: 1.935 MB / 0.9747 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.0252, allocations: 346.8 kB / 0.975 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of FrontEnd: time 0.0003382/0.02554, allocations: 134.6 kB / 0.9751 GB, free: 15.24 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 (454) * Number of variables: 454 (454) Notification: Performance of Bindings: time 0.006837/0.03238, allocations: 9.216 MB / 0.9841 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 0.0003836/0.03277, allocations: 0.5034 MB / 0.9846 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.005283/0.03806, allocations: 6.446 MB / 0.9909 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simplify1: time 0.0003201/0.03839, allocations: 379.4 kB / 0.9913 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Alias: time 0.01161/0.05001, allocations: 12.12 MB / 1.003 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of simplify2: time 0.0002175/0.05024, allocations: 231.6 kB / 1.003 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of Detect States: time 0.001287/0.05153, allocations: 1.507 MB / 1.005 GB, free: 15.33 MB / 0.795 GB Notification: Performance of Events: time 0.001523/0.05307, allocations: 1.375 MB / 1.006 GB, free: 13.92 MB / 0.795 GB Notification: Performance of Partitioning: time 0.00122/0.0543, allocations: 1.344 MB / 1.007 GB, free: 12.48 MB / 0.795 GB Notification: Performance of Causalize: time 0.005097/0.0594, allocations: 5.062 MB / 1.012 GB, free: 7.285 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.003227/0.06264, allocations: 3.814 MB / 1.016 GB, free: 3.43 MB / 0.795 GB Notification: Performance of Inline: time 0.006572/0.06922, allocations: 7.644 MB / 1.024 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of Partitioning: time 0.0003903/0.06962, allocations: 384.1 kB / 1.024 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of Cleanup: time 0.0006741/0.0703, allocations: 0.7825 MB / 1.025 GB, free: 10.45 MB / 0.8106 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_24 = false ($RES_SIM_7) slice: {}; [SCAL] (1) $TEV_36 = false ($RES_SIM_24) slice: {}; Notification: Performance of Causalize: time 0.03281/0.1031, allocations: 31.22 MB / 1.055 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of Tearing: time 4.059e-05/0.1032, allocations: 4 kB / 1.055 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of Initialization: time 7.61e-07/0.1032, allocations: 0 / 1.055 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of Tearing: time 1.659e-05/0.1032, allocations: 7.938 kB / 1.055 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of Categorize: time 3.454e-05/0.1033, allocations: 8 kB / 1.055 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of Solve: time 0.002228/0.1055, allocations: 1.719 MB / 1.057 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.001485/0.107, allocations: 1.593 MB / 1.058 GB, free: 7.105 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 10 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {dam1.conCooDam.addPID.u2, dam1.conHeaDam.addPID.u2} * Number of discrete states: .................... 14 (14) {dam1.not2.u, dam.u1CooAHU, dam1.lat1.y, dam1.lat.y, dam1.samCoo.y, dam1.samCoo.firstTrigger, dam1.samHea.y, dam1.samHea.firstTrigger, dam.lat1.y, dam.lat.y, dam.samCoo.y, dam.samCoo.firstTrigger, dam.samHea.y, dam.samHea.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 114 (114) {dam.and4.u1, dam.and4.u2, dam.and4.y, dam.and1.u1, dam.and1.u2, dam.and1.y, dam.falEdg.not_u, dam.and2.u2, dam.and2.y, dam.and3.u1, dam.and3.y, dam.samHea.sampleTrigger, dam.samCoo.sampleTrigger, dam.lat.clr, dam1.and4.u1, dam1.and4.u2, dam1.and4.y, dam1.and1.u1, dam1.and1.u2, dam1.and1.y, dam1.falEdg.not_u, dam1.and2.u2, dam1.and2.y, dam1.and3.u1, dam1.and3.y, dam1.samHea.sampleTrigger, dam1.samCoo.sampleTrigger, dam1.lat.clr, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $TEV_61, $TEV_60, $TEV_59, $TEV_58, $TEV_57, $TEV_56, $TEV_55, $TEV_54, $TEV_53, $TEV_52, $TEV_51, $TEV_50, $TEV_49, $TEV_48, $TEV_47, $TEV_46, $TEV_45, $TEV_44, $TEV_43, $TEV_42, $TEV_41, $TEV_40, $TEV_39, $TEV_38, $TEV_37, $TEV_36, $TEV_35, $TEV_34, $TEV_33, $TEV_32, $TEV_31, $TEV_30, $TEV_29, $TEV_28, $TEV_27, $TEV_26, $TEV_25, $TEV_24} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 206 (scalar:206, array:0, record:0) * Number of multi strong components: ............ 14 (algorithm:0, when:14, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 384 (scalar:384, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:10, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 384 (scalar:384, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:10, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0001474/0.1071, allocations: 167.8 kB / 1.059 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of SimCode: time 0.006321/0.1135, allocations: 8.091 MB / 1.067 GB, free: 14.73 MB / 0.8575 GB Error: Template error: A template call failed (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SerializeModelInfo.mo:116:9-116:84:writable] Error: Internal error SerializeModelInfo.serialize failed [CodegenCFunctions.tpl:5962:14-5962:14:writable] Error: Template error: daeExpLbinary:ERR.