Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001066/0.001066, 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.0009975/0.0009975, allocations: 198.1 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.219/1.219, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.404/2.404, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.86 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2293, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006851/0.2362, allocations: 6.171 MB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004274/0.2405, allocations: 3.184 MB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.241, allocations: 31.81 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.2431, allocations: 0.879 MB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000954/0.2441, allocations: 446 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009743/0.245, allocations: 450 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.2464, allocations: 1.471 MB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008533/0.2473, allocations: 0.6172 MB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005657/0.2479, allocations: 402.2 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006158/0.2485, allocations: 482.2 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.2486, allocations: 47.94 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008599/0.2495, allocations: 0.5809 MB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.2497, allocations: 279.2 kB / 1.067 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.2501, allocations: 381.9 kB / 1.067 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.2513, allocations: 1.184 MB / 1.068 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2513, allocations: 3.984 kB / 1.068 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2513, allocations: 4 kB / 1.068 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.2513, allocations: 0 / 1.068 GB, free: 7.598 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.001445/0.2528, allocations: 1.048 MB / 1.069 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2528, allocations: 15.97 kB / 1.069 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.2529, allocations: 114.7 kB / 1.07 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.2543, allocations: 227.6 kB / 1.07 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.255, allocations: 0.5414 MB / 1.07 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.255, allocations: 49.67 kB / 1.07 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.613e-05/0.2551, allocations: 60.36 kB / 1.07 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.2563, allocations: 1.03 MB / 1.071 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.2564, allocations: 11.84 kB / 1.071 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.2564, allocations: 35.98 kB / 1.071 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.649e-05/0.2565, allocations: 69.27 kB / 1.071 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009142/0.2574, allocations: 0.6918 MB / 1.072 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/0.2615, allocations: 5.752 MB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.2622, allocations: 0.5943 MB / 1.078 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.2629, allocations: 416.6 kB / 1.079 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.2629, allocations: 4 kB / 1.079 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.263, allocations: 46.48 kB / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.482e-06/0.263, allocations: 0 / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.003842/0.2668, allocations: 2.057 MB / 1.081 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.2669, allocations: 59.41 kB / 1.081 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.2673, allocations: 462.8 kB / 1.081 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.2673, allocations: 33.7 kB / 1.081 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.2675, allocations: 391 kB / 1.082 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.2676, allocations: 149.9 kB / 1.082 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.2678, allocations: 110.2 kB / 1.082 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2679, allocations: 370.8 kB / 1.082 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.2682, allocations: 241.2 kB / 1.083 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.2687, allocations: 461 kB / 1.083 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008117/0.2695, allocations: 0.7556 MB / 1.084 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2695, allocations: 4 kB / 1.084 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001685/0.2712, allocations: 1.066 MB / 1.085 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2712, allocations: 8 kB / 1.085 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2712, allocations: 8 kB / 1.085 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009718/0.2722, allocations: 327.1 kB / 1.085 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.2725, allocations: 99.81 kB / 1.085 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/0.2783, allocations: 6.954 MB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.2786, allocations: 28.31 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.2787, allocations: 24 kB / 1.092 GB, free: 13.76 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.0003078/0.279, allocations: 257.5 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.2791, allocations: 55.34 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.2807, allocations: 0.9117 MB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2807, allocations: 8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2807, allocations: 7.984 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2807, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.2831, allocations: 1.704 MB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2831, allocations: 4 kB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2833, allocations: 40.09 kB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009101/0.2842, allocations: 327.2 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.2842, allocations: 8 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005704/0.2899, allocations: 6.951 MB / 1.102 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2899, allocations: 0 / 1.102 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.2914, allocations: 1.003 MB / 1.103 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.2916, allocations: 172.4 kB / 1.103 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.2917, allocations: 11.98 kB / 1.103 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.2919, allocations: 27.86 kB / 1.103 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-05/0.292, allocations: 47.88 kB / 1.103 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.2921, allocations: 16 kB / 1.103 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002991/0.2924, allocations: 310.9 kB / 1.104 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2924, allocations: 3.938 kB / 1.104 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006661/0.2931, allocations: 196 kB / 1.104 GB, free: 0.9883 MB / 0.8575 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.001716/0.2948, allocations: 1.561 MB / 1.105 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.2964, allocations: 1.199 MB / 1.106 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2965, allocations: 0 / 1.106 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.2975, allocations: 0.8701 MB / 1.107 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/0.2984, allocations: 190.6 kB / 1.108 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007551/0.306, allocations: 6.279 MB / 1.114 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.3065, allocations: 0.9998 MB / 1.115 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003043/0.3068, allocations: 97.19 kB / 1.115 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.3071, allocations: 227.4 kB / 1.115 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.3071, allocations: 0 / 1.115 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6654/0.9724, allocations: 14.82 MB / 1.129 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.9727, allocations: 252.6 kB / 1.13 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.896, allocations: 0 / 1.13 GB, free: 6.277 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches