Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 115.8 kB / 16.42 MB, free: 6.488 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.001751/0.001751, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8422/0.8436, allocations: 159.1 MB / 1.221 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009518/0.8532, allocations: 5.476 MB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006109/0.8593, allocations: 2.626 MB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009922/0.8604, allocations: 19.88 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.8632, allocations: 0.6846 MB / 1.229 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.8651, allocations: 421.7 kB / 1.23 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.8668, allocations: 394.4 kB / 1.23 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.8689, allocations: 0.9591 MB / 1.231 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.87, allocations: 462.3 kB / 1.232 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.8711, allocations: 378.5 kB / 1.232 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009597/0.8721, allocations: 398.5 kB / 1.232 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.8723, allocations: 48 kB / 1.232 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.8735, allocations: 367.2 kB / 1.233 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.874, allocations: 251.3 kB / 1.233 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007354/0.8747, allocations: 346.3 kB / 1.233 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.8767, allocations: 0.9713 MB / 1.234 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.8768, allocations: 0 / 1.234 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8768, allocations: 0 / 1.234 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.954e-05/0.8769, allocations: 0 / 1.234 GB, free: 4.605 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002262/0.8791, allocations: 0.966 MB / 1.235 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.8792, allocations: 12.62 kB / 1.235 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.8806, allocations: 199.8 kB / 1.235 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.8815, allocations: 0.514 MB / 1.236 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.8815, allocations: 41.36 kB / 1.236 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.8817, allocations: 48.56 kB / 1.236 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.8828, allocations: 0.8356 MB / 1.237 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.8828, allocations: 4 kB / 1.237 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.8829, allocations: 23.98 kB / 1.237 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002194/0.8831, allocations: 68.94 kB / 1.237 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008406/0.884, allocations: 0.5696 MB / 1.237 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.889, allocations: 4.569 MB / 1.242 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.8895, allocations: 295.3 kB / 1.242 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.8898, allocations: 221.3 kB / 1.242 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.8899, allocations: 12.16 kB / 1.242 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.8899, allocations: 38.84 kB / 1.242 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 3.547e-06/0.8899, allocations: 0 / 1.242 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.005634/0.8956, allocations: 2.643 MB / 1.245 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.8956, allocations: 55.41 kB / 1.245 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.8961, allocations: 454 kB / 1.246 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.8962, allocations: 37.64 kB / 1.246 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.8964, allocations: 343.6 kB / 1.246 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.8965, allocations: 142 kB / 1.246 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.8967, allocations: 102.2 kB / 1.246 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8968, allocations: 366.7 kB / 1.247 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.8972, allocations: 237 kB / 1.247 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.8976, allocations: 408.8 kB / 1.247 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000805/0.8984, allocations: 0.6779 MB / 1.248 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8984, allocations: 0 / 1.248 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001633/0.9001, allocations: 0.921 MB / 1.249 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.9001, allocations: 8 kB / 1.249 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.9001, allocations: 4 kB / 1.249 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007992/0.9009, allocations: 227 kB / 1.249 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.9015, allocations: 111.8 kB / 1.249 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005049/0.9065, allocations: 5.348 MB / 1.254 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.907, allocations: 28.05 kB / 1.254 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.9071, allocations: 27.98 kB / 1.254 GB, free: 14.81 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.9074, allocations: 218.1 kB / 1.255 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.9075, allocations: 59.42 kB / 1.255 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.909, allocations: 0.7814 MB / 1.255 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.909, allocations: 0 / 1.255 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.909, allocations: 3.984 kB / 1.255 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.9092, allocations: 168.4 kB / 1.255 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.9093, allocations: 8 kB / 1.255 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.9096, allocations: 23.97 kB / 1.256 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.9097, allocations: 39.72 kB / 1.256 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00193/0.9117, allocations: 0.8542 MB / 1.256 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001149/0.9128, allocations: 0.9603 MB / 1.257 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003134/0.9131, allocations: 243.6 kB / 1.258 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003171/0.9135, allocations: 310.9 kB / 1.258 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of Backend: time 2.8e-07/0.9135, allocations: 0 / 1.258 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.9156, allocations: 1.068 MB / 1.259 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002494/0.9181, allocations: 1.784 MB / 1.261 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of Templates: time 0.01804/0.9362, allocations: 11.08 MB / 1.271 GB, free: 13.18 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches