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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001666/0.001666, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001186/0.001186, allocations: 194.8 kB / 16.25 MB, free: 6.641 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 68.28 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2829, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009182/0.2921, allocations: 6.751 MB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00535/0.2975, allocations: 3.024 MB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.2984, allocations: 23.81 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.3011, allocations: 0.891 MB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.3025, allocations: 473.7 kB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3037, allocations: 379.3 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.3053, allocations: 1.228 MB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.3064, allocations: 0.7328 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007463/0.3072, allocations: 474.2 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00077/0.308, allocations: 0.5449 MB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.3081, allocations: 64 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007848/0.3089, allocations: 383.2 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.3093, allocations: 303.2 kB / 1.083 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005767/0.3099, allocations: 453.7 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.3113, allocations: 1.226 MB / 1.084 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3113, allocations: 0 / 1.084 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3113, allocations: 0 / 1.084 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.68e-05/0.3113, allocations: 4 kB / 1.084 GB, free: 9.848 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00215/0.3135, allocations: 1.166 MB / 1.085 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3135, allocations: 8.031 kB / 1.085 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.3151, allocations: 235.6 kB / 1.086 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.3159, allocations: 0.5414 MB / 1.086 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.316, allocations: 53.67 kB / 1.086 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.3161, allocations: 64.27 kB / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.3175, allocations: 1.093 MB / 1.087 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.3176, allocations: 0 / 1.087 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.3176, allocations: 35.98 kB / 1.087 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/0.3178, allocations: 89.19 kB / 1.087 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.3189, allocations: 0.7503 MB / 1.088 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004958/0.3239, allocations: 5.893 MB / 1.094 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/0.3249, allocations: 0.5504 MB / 1.094 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/0.3253, allocations: 326 kB / 1.095 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.3253, allocations: 4.438 kB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3254, allocations: 47 kB / 1.095 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 2.023e-06/0.3254, allocations: 0 / 1.095 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.003715/0.3291, allocations: 1.982 MB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3292, allocations: 59.84 kB / 1.097 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.3297, allocations: 0.5548 MB / 1.097 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.3298, allocations: 29.7 kB / 1.097 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.33, allocations: 414.9 kB / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.3302, allocations: 177.5 kB / 1.098 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.3304, allocations: 126.6 kB / 1.098 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3305, allocations: 378.7 kB / 1.098 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.3309, allocations: 273.8 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.3314, allocations: 493 kB / 1.099 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/0.3324, allocations: 0.8132 MB / 1.1 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3324, allocations: 0 / 1.1 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001734/0.3342, allocations: 1.09 MB / 1.101 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3342, allocations: 8 kB / 1.101 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3342, allocations: 11.98 kB / 1.101 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008454/0.3351, allocations: 280 kB / 1.101 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.3355, allocations: 131.7 kB / 1.101 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006334/0.3419, allocations: 7.133 MB / 1.108 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/0.3425, allocations: 36.03 kB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.3426, allocations: 32 kB / 1.108 GB, free: 15.45 MB / 0.8731 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.0003493/0.3429, allocations: 253.5 kB / 1.109 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.343, allocations: 79.09 kB / 1.109 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.3446, allocations: 0.8924 MB / 1.11 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3446, allocations: 7.984 kB / 1.11 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3446, allocations: 4 kB / 1.11 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3446, allocations: 0 / 1.11 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.3471, allocations: 1.713 MB / 1.111 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.3471, allocations: 8 kB / 1.111 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.3474, allocations: 64.02 kB / 1.111 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007653/0.3481, allocations: 271.2 kB / 1.112 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.3482, allocations: 8 kB / 1.112 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006331/0.3545, allocations: 7.13 MB / 1.119 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3545, allocations: 4.031 kB / 1.119 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.356, allocations: 0.9834 MB / 1.12 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.3563, allocations: 196.1 kB / 1.12 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.3564, allocations: 11.98 kB / 1.12 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.3568, allocations: 31.91 kB / 1.12 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.3569, allocations: 47.88 kB / 1.12 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.3569, allocations: 16 kB / 1.12 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004217/0.3574, allocations: 383.1 kB / 1.12 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3574, allocations: 0 / 1.12 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008477/0.3582, allocations: 228 kB / 1.12 GB, free: 2.402 MB / 0.8731 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.0001573/0.3584, allocations: 115.1 kB / 1.121 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.3605, allocations: 1.33 MB / 1.122 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.3605, allocations: 4.125 kB / 1.122 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.3617, allocations: 0.8931 MB / 1.123 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3628, allocations: 220.2 kB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.365, allocations: 1.64 MB / 1.125 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.3655, allocations: 1.005 MB / 1.126 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003823/0.3659, allocations: 117.9 kB / 1.126 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.366, allocations: 51.42 kB / 1.126 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of SimCode: time 2.024e-06/0.3661, allocations: 4 kB / 1.126 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of Templates: time 0.01862/0.3847, allocations: 11.23 MB / 1.137 GB, free: 1.75 MB / 0.8887 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 -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/jenkins/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