Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,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") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 106.9 kB / 16.35 MB, free: 5.824 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.002039/0.002039, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.592/1.592, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.675/2.675, allocations: 442.5 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 69.23 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4157, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01465/0.4304, allocations: 10.92 MB / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.4451, allocations: 8.788 MB / 1.046 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.4471, allocations: 59.62 kB / 1.046 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004664/0.4518, allocations: 1.676 MB / 1.048 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.4569, allocations: 1.538 MB / 1.049 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.4588, allocations: 0.6666 MB / 1.05 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003171/0.462, allocations: 2.271 MB / 1.052 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.4639, allocations: 1.387 MB / 1.053 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.4657, allocations: 0.9848 MB / 1.054 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.4672, allocations: 1.015 MB / 1.055 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.4674, allocations: 140 kB / 1.055 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.469, allocations: 0.8032 MB / 1.056 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005291/0.4695, allocations: 0.5648 MB / 1.057 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.4706, allocations: 0.8822 MB / 1.058 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.4742, allocations: 2.57 MB / 1.06 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4743, allocations: 0 / 1.06 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.65e-06/0.4743, allocations: 4 kB / 1.06 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.987e-05/0.4743, allocations: 3.938 kB / 1.06 GB, free: 15.59 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00495/0.4793, allocations: 2.014 MB / 1.062 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.4794, allocations: 11.97 kB / 1.062 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.4902, allocations: 2.042 MB / 1.064 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003176/0.4934, allocations: 1.22 MB / 1.065 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/0.4935, allocations: 86.69 kB / 1.065 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.4938, allocations: 120.1 kB / 1.066 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005408/0.4992, allocations: 2.482 MB / 1.068 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/0.4992, allocations: 7.938 kB / 1.068 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.4994, allocations: 55.98 kB / 1.068 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000321/0.4997, allocations: 126.1 kB / 1.068 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00676/0.5065, allocations: 2.537 MB / 1.071 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6955/1.202, allocations: 10.02 MB / 1.08 GB, free: 48.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00621/1.208, allocations: 1.95 MB / 1.082 GB, free: 48.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003052/1.211, allocations: 0.9752 MB / 1.083 GB, free: 47.78 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/1.211, allocations: 5.312 kB / 1.083 GB, free: 47.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/1.212, allocations: 42.38 kB / 1.083 GB, free: 47.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=53): time 3.958e-06/1.212, allocations: 0 / 1.083 GB, free: 47.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=81): time 0.03417/1.246, allocations: 8.713 MB / 1.092 GB, free: 45.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/1.246, allocations: 60.34 kB / 1.092 GB, free: 45.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/1.248, allocations: 1.099 MB / 1.093 GB, free: 45.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002167/1.248, allocations: 41.3 kB / 1.093 GB, free: 45.44 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/1.249, allocations: 0.7369 MB / 1.094 GB, free: 44.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/1.249, allocations: 279.8 kB / 1.094 GB, free: 44.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005333/1.25, allocations: 201.1 kB / 1.094 GB, free: 44.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.25, allocations: 343.2 kB / 1.095 GB, free: 44.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/1.254, allocations: 1.073 MB / 1.096 GB, free: 43.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/1.257, allocations: 1.308 MB / 1.097 GB, free: 43.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006292/1.263, allocations: 2.383 MB / 1.099 GB, free: 42.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/1.263, allocations: 1.25 kB / 1.099 GB, free: 42.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00992/1.273, allocations: 3.276 MB / 1.102 GB, free: 41.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/1.273, allocations: 7.625 kB / 1.102 GB, free: 41.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.273, allocations: 7.656 kB / 1.102 GB, free: 41.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/1.276, allocations: 0.7908 MB / 1.103 GB, free: 41.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/1.279, allocations: 419.5 kB / 1.104 GB, free: 41.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/1.295, allocations: 15.91 MB / 1.119 GB, free: 27.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/1.298, allocations: 292.3 kB / 1.119 GB, free: 27.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/1.298, allocations: 50.66 kB / 1.119 GB, free: 27.86 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0009473/1.299, allocations: 402.4 kB / 1.12 GB, free: 27.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/1.299, allocations: 141.7 kB / 1.12 GB, free: 27.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008125/1.307, allocations: 3.204 MB / 1.123 GB, free: 26.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/1.307, allocations: 12.12 kB / 1.123 GB, free: 26.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/1.307, allocations: 6.781 kB / 1.123 GB, free: 26.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.307, allocations: 5.266 kB / 1.123 GB, free: 26.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/1.319, allocations: 4.923 MB / 1.128 GB, free: 23.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.319, allocations: 2.781 kB / 1.128 GB, free: 23.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.321, allocations: 352.4 kB / 1.128 GB, free: 22.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002613/1.323, allocations: 0.7012 MB / 1.129 GB, free: 22.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/1.323, allocations: 27.91 kB / 1.129 GB, free: 22.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/1.337, allocations: 15.53 MB / 1.144 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.337, allocations: 3.844 kB / 1.144 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007625/1.344, allocations: 3.044 MB / 1.147 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.345, allocations: 386.9 kB / 1.147 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/1.346, allocations: 14.62 kB / 1.147 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/1.347, allocations: 292.7 kB / 1.148 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/1.348, allocations: 82.92 kB / 1.148 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.348, allocations: 42.94 kB / 1.148 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001052/1.349, allocations: 0.7383 MB / 1.149 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/1.349, allocations: 0 / 1.149 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001877/1.351, allocations: 431.2 kB / 1.149 GB, free: 5.598 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002608/1.351, allocations: 123.9 kB / 1.149 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007728/1.359, allocations: 3.633 MB / 1.153 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.359, allocations: 0 / 1.153 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004221/1.363, allocations: 2.366 MB / 1.155 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.365, allocations: 0.5186 MB / 1.155 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/1.373, allocations: 3.442 MB / 1.159 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.374, allocations: 1.389 MB / 1.16 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001576/1.376, allocations: 370.9 kB / 1.161 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/1.377, allocations: 109 kB / 1.161 GB, free: 14 MB / 0.8575 GB Notification: Performance of SimCode: time 1.022e-06/1.377, allocations: 3.906 kB / 1.161 GB, free: 14 MB / 0.8575 GB Notification: Performance of Templates: time 0.05882/1.435, allocations: 30.24 MB / 1.19 GB, free: 320 kB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches