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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001486/0.001486, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001624/0.001624, allocations: 189.2 kB / 16.14 MB, free: 6.711 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 64.25 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3155, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007497/0.323, allocations: 6.083 MB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005221/0.3283, allocations: 3.168 MB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004615/0.3288, allocations: 27.81 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.3309, allocations: 0.8869 MB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.332, allocations: 437.9 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.333, allocations: 435.1 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.3343, allocations: 1.459 MB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009473/0.3353, allocations: 0.625 MB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.3358, allocations: 390.3 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005246/0.3364, allocations: 482.1 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.571e-05/0.3364, allocations: 44 kB / 1.066 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009804/0.3374, allocations: 0.5847 MB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.3377, allocations: 275.2 kB / 1.067 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.3381, allocations: 385.9 kB / 1.067 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3393, allocations: 1.172 MB / 1.068 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3393, allocations: 0 / 1.068 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3393, allocations: 0 / 1.068 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.3393, allocations: 0 / 1.068 GB, free: 8.41 MB / 0.8262 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.001694/0.341, allocations: 1.052 MB / 1.069 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.341, allocations: 12.03 kB / 1.069 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.3425, allocations: 223.7 kB / 1.069 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.3434, allocations: 0.5298 MB / 1.07 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.3434, allocations: 49.67 kB / 1.07 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3435, allocations: 64.27 kB / 1.07 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.3449, allocations: 1.038 MB / 1.071 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.3449, allocations: 11.88 kB / 1.071 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.345, allocations: 27.98 kB / 1.071 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.599e-05/0.3451, allocations: 77.27 kB / 1.071 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.3461, allocations: 0.6879 MB / 1.072 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/0.3509, allocations: 5.741 MB / 1.077 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.3517, allocations: 0.6095 MB / 1.078 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007619/0.3525, allocations: 416.6 kB / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.3526, allocations: 8 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3526, allocations: 30.56 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.993e-06/0.3526, allocations: 0 / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004366/0.357, allocations: 2.057 MB / 1.08 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.357, allocations: 55.41 kB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.3575, allocations: 462.7 kB / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.3576, allocations: 29.7 kB / 1.081 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.3578, allocations: 387 kB / 1.081 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.358, allocations: 149.9 kB / 1.081 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.3581, allocations: 110.2 kB / 1.082 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3583, allocations: 366.8 kB / 1.082 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.3588, allocations: 245.1 kB / 1.082 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.3593, allocations: 468.9 kB / 1.083 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.3603, allocations: 0.7519 MB / 1.083 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3603, allocations: 4 kB / 1.083 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001912/0.3622, allocations: 1.066 MB / 1.084 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.3623, allocations: 8 kB / 1.084 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.3623, allocations: 8.094 kB / 1.084 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3634, allocations: 327.1 kB / 1.085 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.3637, allocations: 95.81 kB / 1.085 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006658/0.3704, allocations: 6.955 MB / 1.092 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.3709, allocations: 28.02 kB / 1.092 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.371, allocations: 28 kB / 1.092 GB, free: 14.72 MB / 0.8575 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.0004202/0.3714, allocations: 241.5 kB / 1.092 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.3715, allocations: 63.62 kB / 1.092 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.3733, allocations: 0.9116 MB / 1.093 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3733, allocations: 4 kB / 1.093 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3733, allocations: 7.938 kB / 1.093 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3733, allocations: 3.984 kB / 1.093 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.3759, allocations: 1.704 MB / 1.095 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3759, allocations: 3.938 kB / 1.095 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.3761, allocations: 43.91 kB / 1.095 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009482/0.377, allocations: 323.3 kB / 1.095 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.3771, allocations: 11.98 kB / 1.095 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006604/0.3837, allocations: 6.951 MB / 1.102 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3837, allocations: 0 / 1.102 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.3855, allocations: 1.008 MB / 1.103 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.3857, allocations: 172.4 kB / 1.103 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.3858, allocations: 12 kB / 1.103 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.386, allocations: 23.97 kB / 1.103 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3861, allocations: 35.95 kB / 1.103 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.3862, allocations: 28.16 kB / 1.103 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003292/0.3865, allocations: 306.9 kB / 1.103 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3865, allocations: 0 / 1.103 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007848/0.3873, allocations: 199.9 kB / 1.103 GB, free: 1.957 MB / 0.8575 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.0001555/0.3875, allocations: 103.2 kB / 1.104 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001803/0.3893, allocations: 1.199 MB / 1.105 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3893, allocations: 0 / 1.105 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.3905, allocations: 0.8621 MB / 1.106 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.3915, allocations: 189.5 kB / 1.106 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3936, allocations: 1.534 MB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.3942, allocations: 0.9843 MB / 1.108 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002748/0.3945, allocations: 101.2 kB / 1.108 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/0.3946, allocations: 35.42 kB / 1.108 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/0.3946, allocations: 0 / 1.108 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.01592/0.4105, allocations: 9.614 MB / 1.118 GB, free: 3.266 MB / 0.8731 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 -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/jenkins/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