Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.001498/0.001498, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 60.91 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3676, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008848/0.3765, allocations: 6.744 MB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00494/0.3815, allocations: 3.044 MB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.382, allocations: 23.88 kB / 1.036 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.3845, allocations: 0.9498 MB / 1.037 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.3858, allocations: 0.5012 MB / 1.038 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3869, allocations: 422.7 kB / 1.038 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3883, allocations: 1.224 MB / 1.039 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009079/0.3892, allocations: 0.6622 MB / 1.04 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.3897, allocations: 470.4 kB / 1.04 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006607/0.3904, allocations: 0.5214 MB / 1.041 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3905, allocations: 68 kB / 1.041 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.3912, allocations: 379.3 kB / 1.041 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.3915, allocations: 307.2 kB / 1.042 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.392, allocations: 453.7 kB / 1.042 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.3932, allocations: 1.207 MB / 1.043 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3932, allocations: 7.984 kB / 1.043 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3932, allocations: 0 / 1.043 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.3932, allocations: 0 / 1.043 GB, free: 1.078 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001882/0.3951, allocations: 1.161 MB / 1.044 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3952, allocations: 12.03 kB / 1.044 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.3966, allocations: 227.7 kB / 1.045 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009552/0.3976, allocations: 0.5882 MB / 1.045 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.3976, allocations: 53.59 kB / 1.045 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.3978, allocations: 68.36 kB / 1.045 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3991, allocations: 1.085 MB / 1.046 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.3991, allocations: 7.844 kB / 1.046 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/0.3992, allocations: 35.98 kB / 1.046 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.3994, allocations: 81.25 kB / 1.047 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.4004, allocations: 0.7504 MB / 1.047 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/0.4054, allocations: 5.878 MB / 1.053 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/0.4064, allocations: 0.5477 MB / 1.054 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.4068, allocations: 326 kB / 1.054 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.4069, allocations: 8.422 kB / 1.054 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4069, allocations: 42.94 kB / 1.054 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.4069, allocations: 0 / 1.054 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.003603/0.4105, allocations: 1.99 MB / 1.056 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4106, allocations: 55.84 kB / 1.056 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.4111, allocations: 0.5509 MB / 1.056 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.4112, allocations: 37.7 kB / 1.056 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.4114, allocations: 414.9 kB / 1.057 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.4116, allocations: 173.6 kB / 1.057 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.4117, allocations: 126.5 kB / 1.057 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4119, allocations: 382.7 kB / 1.057 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.4123, allocations: 273.8 kB / 1.058 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.4128, allocations: 497 kB / 1.058 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/0.4138, allocations: 0.8093 MB / 1.059 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4138, allocations: 4 kB / 1.059 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001716/0.4155, allocations: 1.086 MB / 1.06 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4156, allocations: 11.53 kB / 1.06 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.4156, allocations: 4 kB / 1.06 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008144/0.4164, allocations: 291.1 kB / 1.06 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.4169, allocations: 123.8 kB / 1.06 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006397/0.4233, allocations: 7.126 MB / 1.067 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/0.424, allocations: 40.02 kB / 1.067 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.4241, allocations: 36.05 kB / 1.068 GB, free: 6.664 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.0004217/0.4245, allocations: 257.4 kB / 1.068 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.4246, allocations: 67.25 kB / 1.068 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.4262, allocations: 0.8923 MB / 1.069 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4262, allocations: 4 kB / 1.069 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4263, allocations: 4 kB / 1.069 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.4263, allocations: 3.984 kB / 1.069 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.4292, allocations: 1.721 MB / 1.07 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4292, allocations: 192 / 1.07 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.4295, allocations: 68.02 kB / 1.07 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007454/0.4303, allocations: 271.1 kB / 1.071 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.4303, allocations: 12 kB / 1.071 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6399/1.07, allocations: 7.112 MB / 1.078 GB, free: 49.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.07, allocations: 5.734 kB / 1.078 GB, free: 49.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/1.072, allocations: 0.9843 MB / 1.079 GB, free: 49.19 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/1.073, allocations: 194.2 kB / 1.079 GB, free: 49.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/1.073, allocations: 12.02 kB / 1.079 GB, free: 49.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/1.073, allocations: 28.28 kB / 1.079 GB, free: 49.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.073, allocations: 47.81 kB / 1.079 GB, free: 49.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/1.073, allocations: 16.31 kB / 1.079 GB, free: 49.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005984/1.074, allocations: 385.8 kB / 1.079 GB, free: 49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 0.5 kB / 1.079 GB, free: 49 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008688/1.075, allocations: 225.5 kB / 1.08 GB, free: 48.99 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001612/1.075, allocations: 117.4 kB / 1.08 GB, free: 48.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002214/1.077, allocations: 1.269 MB / 1.081 GB, free: 48.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.077, allocations: 1.062 kB / 1.081 GB, free: 48.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/1.079, allocations: 0.8909 MB / 1.082 GB, free: 47.69 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.08, allocations: 218.9 kB / 1.082 GB, free: 47.63 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/1.082, allocations: 1.324 MB / 1.083 GB, free: 46.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/1.083, allocations: 1.012 MB / 1.084 GB, free: 46.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004116/1.084, allocations: 120 kB / 1.084 GB, free: 46.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/1.084, allocations: 44.72 kB / 1.084 GB, free: 46.22 MB / 0.8419 GB Notification: Performance of SimCode: time 9.02e-07/1.084, allocations: 1.125 kB / 1.084 GB, free: 46.22 MB / 0.8419 GB Notification: Performance of Templates: time 0.03273/1.116, allocations: 11.17 MB / 1.095 GB, free: 45.62 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches