Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,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_9_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_9_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.001243/0.001243, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009575/0.009575, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.648/1.648, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.685/2.685, allocations: 390.9 MB / 0.6663 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.000394, allocations: 15.92 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.967/0.9674, allocations: 142.4 MB / 0.955 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01161/0.9791, allocations: 10.37 MB / 0.9652 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01876/0.9979, allocations: 8.672 MB / 0.9736 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/1.001, allocations: 52.91 kB / 0.9737 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/1.003, allocations: 280 kB / 0.974 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008228/1.011, allocations: 1.408 MB / 0.9753 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/1.014, allocations: 0.6078 MB / 0.9759 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006024/1.02, allocations: 2.891 MB / 0.9788 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004958/1.025, allocations: 1.959 MB / 0.9807 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/1.028, allocations: 0.8154 MB / 0.9815 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002895/1.031, allocations: 0.9474 MB / 0.9824 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006087/1.031, allocations: 60 kB / 0.9824 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/1.035, allocations: 0.8811 MB / 0.9833 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/1.036, allocations: 490.3 kB / 0.9838 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002542/1.038, allocations: 0.8019 MB / 0.9846 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005162/1.044, allocations: 2.495 MB / 0.987 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.044, allocations: 0 / 0.987 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.038e-06/1.044, allocations: 0 / 0.987 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.117e-05/1.044, allocations: 3.938 kB / 0.987 GB, free: 14.69 MB / 0.7481 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.0036/1.047, allocations: 1.706 MB / 0.9887 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.047, allocations: 8.031 kB / 0.9887 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/1.059, allocations: 2.109 MB / 0.9907 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/1.062, allocations: 1.13 MB / 0.9918 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/1.062, allocations: 82.69 kB / 0.9919 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/1.062, allocations: 124.1 kB / 0.992 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006004/1.068, allocations: 2.502 MB / 0.9945 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/1.068, allocations: 11.84 kB / 0.9945 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/1.069, allocations: 55.98 kB / 0.9945 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004174/1.069, allocations: 126.1 kB / 0.9947 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008346/1.077, allocations: 2.592 MB / 0.9972 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/1.094, allocations: 10.12 MB / 1.007 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006439/1.1, allocations: 2.003 MB / 1.009 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/1.103, allocations: 0.9941 MB / 1.01 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/1.103, allocations: 4.438 kB / 1.01 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/1.103, allocations: 39 kB / 1.01 GB, free: 6.113 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 3.136e-06/1.103, allocations: 0 / 1.01 GB, free: 6.113 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.03269/1.136, allocations: 8.781 MB / 1.019 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/1.136, allocations: 60.06 kB / 1.019 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/1.138, allocations: 1.104 MB / 1.02 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/1.138, allocations: 41.7 kB / 1.02 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/1.138, allocations: 0.7341 MB / 1.021 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/1.139, allocations: 283.9 kB / 1.021 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.139, allocations: 85.67 kB / 1.021 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.139, allocations: 337.9 kB / 1.021 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/1.142, allocations: 1.095 MB / 1.022 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/1.146, allocations: 1.329 MB / 1.024 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006596/1.152, allocations: 2.421 MB / 1.026 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.152, allocations: 4 kB / 1.026 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00978/1.162, allocations: 3.315 MB / 1.029 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/1.162, allocations: 11.94 kB / 1.029 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.162, allocations: 8 kB / 1.029 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/1.165, allocations: 0.7801 MB / 1.03 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/1.167, allocations: 435.2 kB / 1.03 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/1.184, allocations: 14.71 MB / 1.045 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/1.187, allocations: 299.6 kB / 1.045 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/1.187, allocations: 51.97 kB / 1.045 GB, free: 0.8125 MB / 0.795 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.0009162/1.188, allocations: 409.3 kB / 1.045 GB, free: 412 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/1.188, allocations: 142.2 kB / 1.046 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009596/1.198, allocations: 3.249 MB / 1.049 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.198, allocations: 8 kB / 1.049 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/1.198, allocations: 8 kB / 1.049 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/1.198, allocations: 3.984 kB / 1.049 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/1.21, allocations: 4.955 MB / 1.054 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.211, allocations: 0 / 1.054 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/1.212, allocations: 367.7 kB / 1.054 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/1.215, allocations: 0.7013 MB / 1.055 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-05/1.215, allocations: 27.97 kB / 1.055 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.23, allocations: 14.34 MB / 1.069 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.23, allocations: 4 kB / 1.069 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009139/1.239, allocations: 3.081 MB / 1.072 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008046/1.24, allocations: 379.2 kB / 1.072 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/1.241, allocations: 19.94 kB / 1.072 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.243, allocations: 311.4 kB / 1.072 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/1.243, allocations: 68.55 kB / 1.072 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.484e-05/1.243, allocations: 43.91 kB / 1.072 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001168/1.244, allocations: 0.7405 MB / 1.073 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/1.244, allocations: 0 / 1.073 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001809/1.246, allocations: 439.9 kB / 1.074 GB, free: 2.188 MB / 0.8262 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.0002821/1.246, allocations: 123.1 kB / 1.074 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009385/1.256, allocations: 3.668 MB / 1.077 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.256, allocations: 0 / 1.077 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.005617/1.261, allocations: 2.383 MB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/1.265, allocations: 491.4 kB / 1.08 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00859/1.273, allocations: 4.103 MB / 1.084 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.275, allocations: 1.391 MB / 1.085 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002331/1.277, allocations: 379.8 kB / 1.086 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/1.277, allocations: 107.4 kB / 1.086 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of SimCode: time 1.523e-06/1.277, allocations: 0 / 1.086 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of Templates: time 0.05466/1.332, allocations: 28.85 MB / 1.114 GB, free: 8.801 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches