Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.676/2.676, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 73.22 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2518, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007121/0.259, allocations: 5.533 MB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003864/0.2628, allocations: 2.654 MB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.2631, allocations: 23.88 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.2647, allocations: 0.678 MB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006995/0.2654, allocations: 409.8 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.2662, allocations: 412.2 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008848/0.2671, allocations: 0.9475 MB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005892/0.2677, allocations: 478.7 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.2681, allocations: 370.6 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.2685, allocations: 402.4 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.2686, allocations: 48 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005252/0.2691, allocations: 363.2 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.2694, allocations: 251.3 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.2697, allocations: 346.3 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009183/0.2707, allocations: 0.9656 MB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2707, allocations: 4 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2707, allocations: 0 / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.2707, allocations: 0 / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001438/0.2721, allocations: 0.9833 MB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2722, allocations: 12.03 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.2723, allocations: 98.69 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.2735, allocations: 195.8 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.2742, allocations: 494.4 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.2743, allocations: 37.36 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.2744, allocations: 52.47 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.2755, allocations: 0.8316 MB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2755, allocations: 4 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/0.2756, allocations: 27.98 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.2758, allocations: 64.94 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.2766, allocations: 0.5735 MB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004205/0.2808, allocations: 4.577 MB / 1.085 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.2813, allocations: 297.2 kB / 1.086 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.2816, allocations: 237.2 kB / 1.086 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2816, allocations: 288 / 1.086 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2817, allocations: 42.78 kB / 1.086 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.072e-06/0.2817, allocations: 0 / 1.086 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.00533/0.287, allocations: 2.63 MB / 1.088 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.2871, allocations: 55.41 kB / 1.088 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.2875, allocations: 465.9 kB / 1.089 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.2876, allocations: 37.64 kB / 1.089 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.2878, allocations: 347.6 kB / 1.089 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.288, allocations: 145.9 kB / 1.089 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.2881, allocations: 102.2 kB / 1.09 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2883, allocations: 366.8 kB / 1.09 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.2886, allocations: 229 kB / 1.09 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.2891, allocations: 406.5 kB / 1.09 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.29, allocations: 0.6895 MB / 1.091 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.29, allocations: 4 kB / 1.091 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001592/0.2916, allocations: 0.9207 MB / 1.092 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2916, allocations: 5.875 kB / 1.092 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2916, allocations: 8.656 kB / 1.092 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007316/0.2924, allocations: 226.4 kB / 1.092 GB, free: 356 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.2929, allocations: 115.8 kB / 1.092 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005139/0.298, allocations: 5.339 MB / 1.098 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.2984, allocations: 31.97 kB / 1.098 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.2984, allocations: 24 kB / 1.098 GB, free: 10.42 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002503/0.2987, allocations: 221.6 kB / 1.098 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.2988, allocations: 63.19 kB / 1.098 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.3002, allocations: 0.7773 MB / 1.099 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3002, allocations: 4 kB / 1.099 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.3003, allocations: 3.938 kB / 1.099 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3003, allocations: 144 / 1.099 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.3026, allocations: 1.506 MB / 1.1 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3026, allocations: 0 / 1.1 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.3029, allocations: 71.94 kB / 1.1 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006261/0.3036, allocations: 210.5 kB / 1.1 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.3036, allocations: 8 kB / 1.1 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.3085, allocations: 5.278 MB / 1.106 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3085, allocations: 0 / 1.106 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3102, allocations: 1.143 MB / 1.107 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.3104, allocations: 172.2 kB / 1.107 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.3105, allocations: 15.98 kB / 1.107 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.3108, allocations: 23.97 kB / 1.107 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.3109, allocations: 36.02 kB / 1.107 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.3109, allocations: 12 kB / 1.107 GB, free: 284 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003319/0.3113, allocations: 314.9 kB / 1.107 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3113, allocations: 3.938 kB / 1.107 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005755/0.3119, allocations: 168 kB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002001/0.3139, allocations: 1.688 MB / 1.109 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.3155, allocations: 1.059 MB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3155, allocations: 0 / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.3165, allocations: 0.6838 MB / 1.111 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.3174, allocations: 180 kB / 1.111 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007693/0.3251, allocations: 5.716 MB / 1.117 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.3256, allocations: 0.9532 MB / 1.117 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000352/0.326, allocations: 113 kB / 1.118 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.3263, allocations: 211.4 kB / 1.118 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.3263, allocations: 4 kB / 1.118 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.596/2.922, allocations: 14.02 MB / 1.131 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.58/20.5, allocations: 5.938 kB / 1.131 GB, free: 7.016 MB / 0.8887 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches