Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_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_latest_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.001544/0.001544, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002288/0.002288, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.947/1.947, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 60.39 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2418, allocations: 157.4 MB / 1.052 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00653/0.2484, allocations: 5.569 MB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003621/0.252, allocations: 2.623 MB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.2524, allocations: 19.88 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.2539, allocations: 0.6529 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008243/0.2548, allocations: 378.2 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.2556, allocations: 375.3 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009553/0.2566, allocations: 0.9552 MB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006568/0.2572, allocations: 0.5144 MB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.2577, allocations: 374.5 kB / 1.064 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.2581, allocations: 418.4 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.297e-05/0.2582, allocations: 48 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005215/0.2587, allocations: 367.2 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.259, allocations: 243.3 kB / 1.065 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.2593, allocations: 350.3 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009011/0.2602, allocations: 0.9927 MB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2602, allocations: 0 / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2602, allocations: 8 kB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.2602, allocations: 0 / 1.066 GB, free: 10.72 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001361/0.2616, allocations: 0.9699 MB / 1.067 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2616, allocations: 8.625 kB / 1.067 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.2617, allocations: 102.7 kB / 1.067 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.263, allocations: 203.8 kB / 1.067 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.2636, allocations: 498.3 kB / 1.068 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.2636, allocations: 41.36 kB / 1.068 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.2638, allocations: 48.47 kB / 1.068 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2648, allocations: 0.8355 MB / 1.069 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.2648, allocations: 4 kB / 1.069 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.2649, allocations: 31.97 kB / 1.069 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.265, allocations: 64.89 kB / 1.069 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007909/0.2658, allocations: 0.5775 MB / 1.069 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.2696, allocations: 4.569 MB / 1.074 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.27, allocations: 299.3 kB / 1.074 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.2703, allocations: 225.3 kB / 1.074 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2703, allocations: 8.219 kB / 1.074 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2704, allocations: 34.84 kB / 1.074 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.2704, allocations: 0 / 1.074 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.004882/0.2752, allocations: 2.638 MB / 1.077 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2753, allocations: 55.41 kB / 1.077 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.2757, allocations: 469.9 kB / 1.077 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.2757, allocations: 29.7 kB / 1.077 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.2759, allocations: 343.6 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.276, allocations: 149.9 kB / 1.078 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.2762, allocations: 102.2 kB / 1.078 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2763, allocations: 362.8 kB / 1.078 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.2766, allocations: 237 kB / 1.078 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.2771, allocations: 414.4 kB / 1.079 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/0.2778, allocations: 0.6779 MB / 1.08 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2778, allocations: 0 / 1.08 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001465/0.2793, allocations: 0.9132 MB / 1.08 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2793, allocations: 9.562 kB / 1.08 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2793, allocations: 4 kB / 1.08 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007053/0.28, allocations: 231 kB / 1.081 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.2805, allocations: 115.8 kB / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004482/0.285, allocations: 5.34 MB / 1.086 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.2854, allocations: 32.03 kB / 1.086 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.2854, allocations: 24 kB / 1.086 GB, free: 4.816 MB / 0.8419 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.0002201/0.2857, allocations: 213.7 kB / 1.086 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.2858, allocations: 67.28 kB / 1.086 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.2871, allocations: 0.781 MB / 1.087 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2871, allocations: 4 kB / 1.087 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2871, allocations: 4.188 kB / 1.087 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2871, allocations: 11.92 kB / 1.087 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.2892, allocations: 1.495 MB / 1.089 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2892, allocations: 4 kB / 1.089 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.2896, allocations: 71.88 kB / 1.089 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006154/0.2902, allocations: 202.6 kB / 1.089 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.2903, allocations: 15.94 kB / 1.089 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.2945, allocations: 5.281 MB / 1.094 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2946, allocations: 0 / 1.094 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.2961, allocations: 1.143 MB / 1.095 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.2963, allocations: 168.3 kB / 1.095 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.2964, allocations: 12 kB / 1.095 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.2967, allocations: 27.95 kB / 1.095 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.2968, allocations: 32.03 kB / 1.095 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.2968, allocations: 16 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000281/0.2971, allocations: 314.9 kB / 1.096 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2971, allocations: 0 / 1.096 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000539/0.2976, allocations: 168 kB / 1.096 GB, free: 10.21 MB / 0.8575 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.001816/0.2995, allocations: 1.696 MB / 1.097 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.3009, allocations: 1.063 MB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3009, allocations: 0 / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.3018, allocations: 0.676 MB / 1.099 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.3026, allocations: 181.6 kB / 1.099 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006889/0.3095, allocations: 5.945 MB / 1.105 GB, free: 232 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.3099, allocations: 0.9493 MB / 1.106 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003355/0.3103, allocations: 113 kB / 1.106 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.3105, allocations: 211.4 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/0.3105, allocations: 3.938 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.406/3.716, allocations: 13.99 MB / 1.12 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/3.716, allocations: 253.5 kB / 1.12 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.429/7.146, allocations: 2.75 kB / 1.12 GB, free: 1.004 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches