Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.002086/0.002086, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002318/0.002318, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.642/1.642, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.958/2.958, allocations: 437 MB / 0.7104 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 59.89 kB / 0.8692 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8434, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.01439/0.8578, allocations: 5.456 MB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008147/0.866, allocations: 2.63 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.8668, allocations: 23.88 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.8691, allocations: 0.6806 MB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.8706, allocations: 405.8 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.8719, allocations: 398.8 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001654/0.8736, allocations: 0.9512 MB / 1.028 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.8746, allocations: 472.4 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008448/0.8755, allocations: 370.6 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009054/0.8764, allocations: 402.4 kB / 1.029 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.8766, allocations: 48 kB / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.8777, allocations: 363.3 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004183/0.8781, allocations: 239.3 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006734/0.8788, allocations: 350.2 kB / 1.03 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.8806, allocations: 0.9656 MB / 1.031 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8806, allocations: 3.938 kB / 1.031 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8806, allocations: 4 kB / 1.031 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.337e-05/0.8807, allocations: 0 / 1.031 GB, free: 4.695 MB / 0.7794 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.002456/0.8832, allocations: 0.9737 MB / 1.032 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.8832, allocations: 8.031 kB / 1.032 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.8849, allocations: 191.9 kB / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009833/0.8859, allocations: 482.5 kB / 1.032 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.886, allocations: 41.36 kB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.8862, allocations: 56.53 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.8877, allocations: 0.8318 MB / 1.033 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.8878, allocations: 11.84 kB / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.8879, allocations: 23.98 kB / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/0.8881, allocations: 64.95 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.8892, allocations: 0.5736 MB / 1.034 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.8952, allocations: 4.585 MB / 1.038 GB, free: 12.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.8959, allocations: 295.2 kB / 1.039 GB, free: 12.05 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.8963, allocations: 221.3 kB / 1.039 GB, free: 11.83 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.8963, allocations: 4.281 kB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.8964, allocations: 42.83 kB / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 4.959e-06/0.8964, allocations: 0 / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.006571/0.903, allocations: 2.626 MB / 1.041 GB, free: 9.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.9031, allocations: 55.41 kB / 1.041 GB, free: 8.953 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.9038, allocations: 461.9 kB / 1.042 GB, free: 8.492 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.9039, allocations: 33.7 kB / 1.042 GB, free: 8.453 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.9043, allocations: 343.6 kB / 1.042 GB, free: 8.109 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.9045, allocations: 141.9 kB / 1.042 GB, free: 7.969 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.9047, allocations: 102.2 kB / 1.043 GB, free: 7.863 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.9049, allocations: 366.8 kB / 1.043 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.9054, allocations: 237 kB / 1.043 GB, free: 7.266 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.906, allocations: 412.4 kB / 1.043 GB, free: 6.789 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.907, allocations: 0.6779 MB / 1.044 GB, free: 6.039 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9071, allocations: 0 / 1.044 GB, free: 6.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001967/0.909, allocations: 0.9168 MB / 1.045 GB, free: 5.105 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.9091, allocations: 11.98 kB / 1.045 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.9091, allocations: 4 kB / 1.045 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008677/0.91, allocations: 227 kB / 1.045 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.9106, allocations: 115.8 kB / 1.045 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006557/0.9171, allocations: 5.343 MB / 1.051 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.9178, allocations: 28.16 kB / 1.051 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.038e-05/0.9179, allocations: 28.14 kB / 1.051 GB, free: 14.92 MB / 0.8106 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.0004928/0.9184, allocations: 229.5 kB / 1.051 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.9186, allocations: 71.25 kB / 1.051 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.9203, allocations: 0.7658 MB / 1.052 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.9204, allocations: 4 kB / 1.052 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.9204, allocations: 7.984 kB / 1.052 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9204, allocations: 0 / 1.052 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.9233, allocations: 1.495 MB / 1.053 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.9234, allocations: 0 / 1.053 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.9238, allocations: 75.88 kB / 1.053 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007539/0.9246, allocations: 206.6 kB / 1.053 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.9246, allocations: 8 kB / 1.053 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00602/0.9306, allocations: 5.274 MB / 1.059 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.9307, allocations: 0 / 1.059 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.9329, allocations: 1.135 MB / 1.06 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.9332, allocations: 164.4 kB / 1.06 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.9334, allocations: 15.94 kB / 1.06 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.9338, allocations: 27.95 kB / 1.06 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.9339, allocations: 35.97 kB / 1.06 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.934, allocations: 12 kB / 1.06 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005207/0.9345, allocations: 318.8 kB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9345, allocations: 0 / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008469/0.9354, allocations: 168 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.9356, allocations: 115.1 kB / 1.061 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002147/0.9377, allocations: 1.066 MB / 1.062 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.9378, allocations: 0 / 1.062 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.939, allocations: 0.6838 MB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.94, allocations: 186.8 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.9429, allocations: 1.248 MB / 1.064 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009358/0.9438, allocations: 0.9455 MB / 1.065 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005064/0.9443, allocations: 121 kB / 1.065 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.9445, allocations: 35.44 kB / 1.065 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of SimCode: time 8.72e-07/0.9445, allocations: 0 / 1.065 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.02169/0.9662, allocations: 8.845 MB / 1.073 GB, free: 7.043 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches