Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_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_10_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_10_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.001517/0.001517, 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.001976/0.001976, allocations: 196.8 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.727/1.727, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.818/2.818, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7688/0.7709, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008667/0.7796, allocations: 6.092 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005661/0.7853, allocations: 3.164 MB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.7859, allocations: 27.81 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.7884, allocations: 0.8796 MB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.7898, allocations: 446 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.7912, allocations: 435.1 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.793, allocations: 1.459 MB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.7942, allocations: 0.6227 MB / 1.029 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007746/0.795, allocations: 398.3 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006804/0.7957, allocations: 482.2 kB / 1.03 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.42e-05/0.7958, allocations: 44 kB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.797, allocations: 0.577 MB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.7974, allocations: 267.2 kB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004502/0.7979, allocations: 385.9 kB / 1.032 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.7994, allocations: 1.18 MB / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.7994, allocations: 4 kB / 1.033 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7994, allocations: 0 / 1.033 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.7994, allocations: 4 kB / 1.033 GB, free: 2.293 MB / 0.7794 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.001932/0.8014, allocations: 1.048 MB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.8014, allocations: 15.98 kB / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.803, allocations: 219.7 kB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.8038, allocations: 0.5337 MB / 1.034 GB, free: 396 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.8039, allocations: 49.66 kB / 1.034 GB, free: 348 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.804, allocations: 68.27 kB / 1.035 GB, free: 280 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.8056, allocations: 1.022 MB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.8056, allocations: 11.92 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.8057, allocations: 39.92 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.631e-05/0.8058, allocations: 61.28 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.8069, allocations: 0.6918 MB / 1.036 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006101/0.813, allocations: 5.756 MB / 1.042 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.8141, allocations: 0.5927 MB / 1.043 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008921/0.8151, allocations: 424.6 kB / 1.043 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.8151, allocations: 4 kB / 1.043 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.8152, allocations: 38.5 kB / 1.043 GB, free: 7.051 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 3.346e-06/0.8152, allocations: 0 / 1.043 GB, free: 7.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.005064/0.8202, allocations: 2.053 MB / 1.045 GB, free: 4.902 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.8203, allocations: 63.39 kB / 1.045 GB, free: 4.828 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/0.8209, allocations: 454.8 kB / 1.045 GB, free: 4.371 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.8209, allocations: 29.7 kB / 1.046 GB, free: 4.336 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.8213, allocations: 395 kB / 1.046 GB, free: 3.945 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.8215, allocations: 145.9 kB / 1.046 GB, free: 3.801 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.8216, allocations: 114.1 kB / 1.046 GB, free: 3.684 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.8219, allocations: 362.8 kB / 1.046 GB, free: 3.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.8222, allocations: 249.2 kB / 1.047 GB, free: 3.078 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.8228, allocations: 461 kB / 1.047 GB, free: 2.531 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.8238, allocations: 0.7594 MB / 1.048 GB, free: 1.676 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.8238, allocations: 4 kB / 1.048 GB, free: 1.672 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002092/0.8259, allocations: 1.058 MB / 1.049 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.826, allocations: 12 kB / 1.049 GB, free: 0.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.826, allocations: 8 kB / 1.049 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.8271, allocations: 327.1 kB / 1.049 GB, free: 248 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.8274, allocations: 99.81 kB / 1.049 GB, free: 148 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007713/0.8351, allocations: 6.946 MB / 1.056 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.8357, allocations: 36.02 kB / 1.056 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.8358, allocations: 24 kB / 1.056 GB, free: 8.602 MB / 0.8106 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.0004391/0.8362, allocations: 252.1 kB / 1.056 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.8363, allocations: 59.28 kB / 1.056 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.8382, allocations: 0.9197 MB / 1.057 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.8382, allocations: 4 kB / 1.057 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8382, allocations: 4 kB / 1.057 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.8382, allocations: 3.984 kB / 1.057 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.8411, allocations: 1.704 MB / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.8411, allocations: 4 kB / 1.059 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.8413, allocations: 40.09 kB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.8423, allocations: 331 kB / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.8424, allocations: 12 kB / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007579/0.85, allocations: 6.927 MB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.85, allocations: 4 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.8519, allocations: 1.015 MB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.8523, allocations: 176.4 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.8523, allocations: 8.281 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.8526, allocations: 23.97 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.8528, allocations: 43.89 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.8528, allocations: 19.88 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004582/0.8533, allocations: 306.9 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8533, allocations: 0 / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008891/0.8542, allocations: 196 kB / 1.068 GB, free: 11.85 MB / 0.8262 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.0001955/0.8544, allocations: 111.2 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002119/0.8565, allocations: 1.199 MB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8565, allocations: 3.938 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.8579, allocations: 0.8622 MB / 1.07 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.859, allocations: 186.6 kB / 1.07 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.8614, allocations: 1.532 MB / 1.072 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.8621, allocations: 0.9843 MB / 1.073 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003481/0.8625, allocations: 101.2 kB / 1.073 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.8626, allocations: 39.44 kB / 1.073 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of SimCode: time 8.91e-07/0.8626, allocations: 0 / 1.073 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.01985/0.8824, allocations: 9.626 MB / 1.082 GB, free: 13.12 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches