Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001416, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001586/0.001587, allocations: 191 kB / 17.29 MB, free: 5.516 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 68 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3624, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00908/0.3716, allocations: 6.09 MB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005864/0.3775, allocations: 3.149 MB / 1.036 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.3783, allocations: 27.81 kB / 1.036 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.381, allocations: 0.9372 MB / 1.037 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.3825, allocations: 473.5 kB / 1.037 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.384, allocations: 482.8 kB / 1.038 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.3856, allocations: 1.096 MB / 1.039 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000979/0.3866, allocations: 0.6349 MB / 1.039 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.3872, allocations: 434.4 kB / 1.04 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006124/0.3878, allocations: 474.2 kB / 1.04 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.052e-05/0.3879, allocations: 56 kB / 1.04 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.3889, allocations: 491 kB / 1.041 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002893/0.3892, allocations: 287.2 kB / 1.041 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.3897, allocations: 401.9 kB / 1.041 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.391, allocations: 1.172 MB / 1.042 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.391, allocations: 0 / 1.042 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.264e-06/0.391, allocations: 0 / 1.042 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.3911, allocations: 0 / 1.042 GB, free: 1.875 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001626/0.3927, allocations: 1.052 MB / 1.044 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3927, allocations: 12.03 kB / 1.044 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.3942, allocations: 223.7 kB / 1.044 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.3952, allocations: 0.5844 MB / 1.044 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.3952, allocations: 45.67 kB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3954, allocations: 60.28 kB / 1.044 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.3968, allocations: 1.034 MB / 1.045 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.3968, allocations: 11.92 kB / 1.045 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.3969, allocations: 31.98 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.397, allocations: 65.28 kB / 1.046 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.3981, allocations: 0.6918 MB / 1.046 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005484/0.4035, allocations: 5.744 MB / 1.052 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/0.4045, allocations: 0.5865 MB / 1.052 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/0.4053, allocations: 420.5 kB / 1.053 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.4053, allocations: 8 kB / 1.053 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.4055, allocations: 34.56 kB / 1.053 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 3.346e-06/0.4055, allocations: 0 / 1.053 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.004815/0.4103, allocations: 2.064 MB / 1.055 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.4104, allocations: 59.39 kB / 1.055 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/0.411, allocations: 454.8 kB / 1.055 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.4111, allocations: 29.7 kB / 1.055 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.4114, allocations: 387 kB / 1.056 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.4116, allocations: 153.9 kB / 1.056 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.4118, allocations: 114.2 kB / 1.056 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002323/0.412, allocations: 362.8 kB / 1.056 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.4124, allocations: 249.2 kB / 1.057 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.413, allocations: 461 kB / 1.057 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.414, allocations: 0.7449 MB / 1.058 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.414, allocations: 4 kB / 1.058 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002045/0.4161, allocations: 1.065 MB / 1.059 GB, free: 148 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.4162, allocations: 10.5 kB / 1.059 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.4162, allocations: 8 kB / 1.059 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4173, allocations: 331.9 kB / 1.059 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.4176, allocations: 99.81 kB / 1.059 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007862/0.4255, allocations: 7.505 MB / 1.067 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.4261, allocations: 32.02 kB / 1.067 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.4262, allocations: 27.94 kB / 1.067 GB, free: 7.562 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004134/0.4266, allocations: 249.5 kB / 1.067 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4267, allocations: 63.19 kB / 1.067 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.4284, allocations: 0.916 MB / 1.068 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4285, allocations: 11.98 kB / 1.068 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.4285, allocations: 8 kB / 1.068 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4285, allocations: 0 / 1.068 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.4313, allocations: 1.708 MB / 1.069 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4314, allocations: 4 kB / 1.069 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.4315, allocations: 35.97 kB / 1.07 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009551/0.4325, allocations: 323.1 kB / 1.07 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.4326, allocations: 8 kB / 1.07 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6765/1.109, allocations: 7.505 MB / 1.077 GB, free: 50.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.109, allocations: 4.344 kB / 1.077 GB, free: 50.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/1.111, allocations: 1.013 MB / 1.078 GB, free: 50.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/1.111, allocations: 172.2 kB / 1.078 GB, free: 50.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/1.111, allocations: 11.52 kB / 1.078 GB, free: 50.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/1.112, allocations: 21.78 kB / 1.078 GB, free: 50.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.112, allocations: 47.55 kB / 1.078 GB, free: 50.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/1.112, allocations: 13.59 kB / 1.078 GB, free: 50.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004016/1.112, allocations: 306.8 kB / 1.079 GB, free: 50.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/1.112, allocations: 0 / 1.079 GB, free: 50.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007754/1.113, allocations: 193.2 kB / 1.079 GB, free: 50.08 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/1.113, allocations: 118.2 kB / 1.079 GB, free: 49.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001868/1.115, allocations: 1.197 MB / 1.08 GB, free: 49.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.115, allocations: 0 / 1.08 GB, free: 49.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/1.116, allocations: 0.8686 MB / 1.081 GB, free: 48.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009464/1.117, allocations: 207 kB / 1.081 GB, free: 48.67 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/1.119, allocations: 1.223 MB / 1.082 GB, free: 48.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/1.12, allocations: 0.9993 MB / 1.083 GB, free: 47.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002943/1.12, allocations: 99 kB / 1.083 GB, free: 47.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/1.12, allocations: 34.44 kB / 1.083 GB, free: 47.3 MB / 0.8419 GB Notification: Performance of SimCode: time 1.342e-06/1.12, allocations: 1.094 kB / 1.084 GB, free: 47.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.02417/1.144, allocations: 9.955 MB / 1.093 GB, free: 46.8 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches