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.0008315/0.0008314, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005224/0.005224, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.396/1.396, 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 11.0.1-master/package.mo): time 2.923/2.923, allocations: 462.7 MB / 0.7364 GB, free: 344 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 12.31 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3333, allocations: 159.6 MB / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006804/0.3402, allocations: 5.678 MB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00535/0.3456, allocations: 3.126 MB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.3462, allocations: 27.81 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.3466, allocations: 118.9 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3478, allocations: 442 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.349, allocations: 443.1 kB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.3506, allocations: 1.455 MB / 1.07 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.3525, allocations: 0.9953 MB / 1.071 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.3531, allocations: 350.4 kB / 1.071 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.3537, allocations: 458.2 kB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.982e-05/0.3537, allocations: 32 kB / 1.071 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.3548, allocations: 0.573 MB / 1.072 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.355, allocations: 251.2 kB / 1.072 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.3554, allocations: 379.7 kB / 1.073 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.3568, allocations: 1.164 MB / 1.074 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3569, allocations: 0 / 1.074 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3569, allocations: 0 / 1.074 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.3569, allocations: 0 / 1.074 GB, free: 6.023 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.001424/0.3583, allocations: 0.9116 MB / 1.075 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3584, allocations: 8.031 kB / 1.075 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.3598, allocations: 223.7 kB / 1.075 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/0.3606, allocations: 0.522 MB / 1.075 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.3607, allocations: 57.59 kB / 1.075 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.3608, allocations: 68.28 kB / 1.075 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.3622, allocations: 1.034 MB / 1.076 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.3623, allocations: 11.92 kB / 1.077 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.3623, allocations: 27.98 kB / 1.077 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.933e-05/0.3624, allocations: 65.28 kB / 1.077 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.3635, allocations: 0.6957 MB / 1.077 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.3684, allocations: 5.752 MB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/0.3693, allocations: 0.6136 MB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007663/0.37, allocations: 412.6 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.3701, allocations: 4 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.3701, allocations: 42.56 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.3701, allocations: 0 / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004345/0.3745, allocations: 2.073 MB / 1.086 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3745, allocations: 55.41 kB / 1.086 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.375, allocations: 458.8 kB / 1.086 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.3751, allocations: 29.7 kB / 1.086 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.3753, allocations: 391 kB / 1.087 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3754, allocations: 149.9 kB / 1.087 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.3755, allocations: 49.69 kB / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3757, allocations: 362.8 kB / 1.087 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.376, allocations: 245.2 kB / 1.088 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.3765, allocations: 457 kB / 1.088 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.3774, allocations: 0.7519 MB / 1.089 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3774, allocations: 0 / 1.089 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001855/0.3793, allocations: 1.065 MB / 1.09 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3793, allocations: 8.875 kB / 1.09 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3793, allocations: 8 kB / 1.09 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.3804, allocations: 331.1 kB / 1.09 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.3807, allocations: 87.89 kB / 1.09 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006575/0.3873, allocations: 6.97 MB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.3878, allocations: 35.95 kB / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.3878, allocations: 28 kB / 1.097 GB, free: 12.51 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.0003641/0.3882, allocations: 245.5 kB / 1.097 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.3883, allocations: 63.25 kB / 1.097 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.39, allocations: 0.9116 MB / 1.098 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.39, allocations: 8 kB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.39, allocations: 4 kB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3901, allocations: 0 / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.3928, allocations: 1.704 MB / 1.1 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.3928, allocations: 4 kB / 1.1 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.393, allocations: 39.91 kB / 1.1 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009273/0.3939, allocations: 327.2 kB / 1.1 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.394, allocations: 12 kB / 1.1 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006769/0.4007, allocations: 6.947 MB / 1.107 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.4008, allocations: 4 kB / 1.107 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.4026, allocations: 1.012 MB / 1.108 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.4029, allocations: 168.4 kB / 1.108 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.403, allocations: 12 kB / 1.108 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.4032, allocations: 23.91 kB / 1.108 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.4034, allocations: 47.88 kB / 1.108 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.4034, allocations: 11.94 kB / 1.108 GB, free: 248 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000339/0.4038, allocations: 306.9 kB / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4038, allocations: 4 kB / 1.109 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008005/0.4046, allocations: 192 kB / 1.109 GB, free: 15.75 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 (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.0001572/0.4048, allocations: 107.2 kB / 1.109 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.4067, allocations: 1.203 MB / 1.11 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4067, allocations: 4 kB / 1.11 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.4079, allocations: 0.8582 MB / 1.111 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.409, allocations: 181.7 kB / 1.111 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.4111, allocations: 1.557 MB / 1.113 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.4118, allocations: 0.9843 MB / 1.114 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000283/0.412, allocations: 97.17 kB / 1.114 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.4121, allocations: 35.44 kB / 1.114 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/0.4121, allocations: 0 / 1.114 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.02036/0.4325, allocations: 9.451 MB / 1.123 GB, free: 1.203 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