Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.001454/0.001454, allocations: 112.5 kB / 15.73 MB, free: 76 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.0014/0.0014, allocations: 193.5 kB / 16.67 MB, free: 6.582 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.566/2.566, allocations: 482.6 MB / 0.755 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.84 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2671, allocations: 162.3 MB / 1.242 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.4973/0.7645, allocations: 41.18 MB / 1.282 GB, free: 8.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.79, allocations: 15.09 MB / 1.297 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003369/0.7934, allocations: 188.2 kB / 1.297 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009611/0.8031, allocations: 4.456 MB / 1.301 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.8097, allocations: 2.796 MB / 1.304 GB, free: 9.664 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007018/0.8167, allocations: 3.158 MB / 1.307 GB, free: 7.918 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01309/0.8298, allocations: 11.39 MB / 1.318 GB, free: 2.812 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01396/0.8438, allocations: 12.47 MB / 1.33 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007714/0.8515, allocations: 4.817 MB / 1.335 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008344/0.8599, allocations: 5.391 MB / 1.34 GB, free: 9.301 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001594/0.8615, allocations: 0.949 MB / 1.341 GB, free: 9.301 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.8658, allocations: 2.044 MB / 1.343 GB, free: 8.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003608/0.8694, allocations: 3.693 MB / 1.347 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005218/0.8746, allocations: 4.288 MB / 1.351 GB, free: 3.793 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.8894, allocations: 14.33 MB / 1.365 GB, free: 9.418 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8894, allocations: 0 / 1.365 GB, free: 9.418 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8894, allocations: 3.938 kB / 1.365 GB, free: 9.414 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002287/0.8896, allocations: 0 / 1.365 GB, free: 9.414 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01629/0.9059, allocations: 7.791 MB / 1.373 GB, free: 2.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.906, allocations: 12.03 kB / 1.373 GB, free: 2.309 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001247/0.9072, allocations: 0.8877 MB / 1.374 GB, free: 1.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008766/0.916, allocations: 1.554 MB / 1.375 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007109/0.9231, allocations: 4.473 MB / 1.38 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.9235, allocations: 452.5 kB / 1.38 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009786/0.9244, allocations: 0.59 MB / 1.381 GB, free: 10.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/0.9403, allocations: 10.69 MB / 1.391 GB, free: 15.2 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.9404, allocations: 31.83 kB / 1.391 GB, free: 15.17 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006735/0.9411, allocations: 263.9 kB / 1.391 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002648/0.9437, allocations: 0.7729 MB / 1.392 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.9591, allocations: 8.568 MB / 1.4 GB, free: 5.547 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05042/1.01, allocations: 46.59 MB / 1.446 GB, free: 3.199 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005254/1.015, allocations: 4.307 MB / 1.45 GB, free: 14.88 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004721/1.02, allocations: 3.716 MB / 1.454 GB, free: 11.16 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/1.02, allocations: 38.78 kB / 1.454 GB, free: 11.12 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/1.02, allocations: 77.2 kB / 1.454 GB, free: 11.03 MB / 1.154 GB Notification: Performance of pre-optimization done (n=353): time 4.739e-06/1.02, allocations: 0 / 1.454 GB, free: 11.03 MB / 1.154 GB Notification: Performance of matching and sorting (n=578): time 0.4619/1.482, allocations: 122.9 MB / 1.574 GB, free: 15.29 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/1.482, allocations: 111.9 kB / 1.574 GB, free: 15.16 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003578/1.485, allocations: 2.685 MB / 1.577 GB, free: 12.48 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006475/1.486, allocations: 121.7 kB / 1.577 GB, free: 12.35 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001817/1.488, allocations: 2.757 MB / 1.579 GB, free: 9.57 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001862/1.49, allocations: 2.053 MB / 1.581 GB, free: 7.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/1.491, allocations: 0.925 MB / 1.582 GB, free: 6.566 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.492, allocations: 305.1 kB / 1.583 GB, free: 6.266 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005596/1.497, allocations: 4.075 MB / 1.587 GB, free: 2.184 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006277/1.503, allocations: 5.015 MB / 1.591 GB, free: 12.85 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/1.516, allocations: 9.859 MB / 1.601 GB, free: 2.609 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/1.516, allocations: 8 kB / 1.601 GB, free: 2.602 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03564/1.552, allocations: 17.01 MB / 1.618 GB, free: 1.457 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/1.552, allocations: 12 kB / 1.618 GB, free: 1.445 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/1.552, allocations: 24 kB / 1.618 GB, free: 1.422 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02933/1.581, allocations: 9.085 MB / 1.627 GB, free: 8.301 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/1.584, allocations: 0.5226 MB / 1.627 GB, free: 7.777 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1045/1.688, allocations: 77.03 MB / 1.702 GB, free: 9.164 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/1.693, allocations: 287.8 kB / 1.703 GB, free: 8.883 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004635/1.693, allocations: 192 kB / 1.703 GB, free: 8.695 MB / 1.404 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003962/1.697, allocations: 2.426 MB / 1.705 GB, free: 6.254 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008599/1.698, allocations: 493 kB / 1.706 GB, free: 5.77 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03602/1.734, allocations: 16.82 MB / 1.722 GB, free: 4.809 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.604e-05/1.734, allocations: 56 kB / 1.722 GB, free: 4.754 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001279/1.734, allocations: 75.98 kB / 1.722 GB, free: 4.68 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.49e-05/1.734, allocations: 23.91 kB / 1.722 GB, free: 4.656 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04863/1.783, allocations: 25.65 MB / 1.747 GB, free: 10.69 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.783, allocations: 12 kB / 1.747 GB, free: 10.68 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/1.785, allocations: 319.5 kB / 1.748 GB, free: 10.36 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02654/1.811, allocations: 8.266 MB / 1.756 GB, free: 2.059 MB / 1.451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003787/1.811, allocations: 112 kB / 1.756 GB, free: 1.949 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5829/2.394, allocations: 73.91 MB / 1.828 GB, free: 483.1 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/2.394, allocations: 11.28 kB / 1.828 GB, free: 483.1 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03679/2.431, allocations: 21.59 MB / 1.849 GB, free: 480.4 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/2.434, allocations: 1.377 MB / 1.85 GB, free: 479.8 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006284/2.434, allocations: 111.4 kB / 1.85 GB, free: 479.8 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/2.437, allocations: 291 kB / 1.851 GB, free: 479.7 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00172/2.439, allocations: 0.5184 MB / 1.851 GB, free: 479.6 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003654/2.439, allocations: 145.8 kB / 1.851 GB, free: 479.6 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.002138/2.442, allocations: 1.778 MB / 1.853 GB, free: 478.9 MB / 1.514 GB Notification: Performance of sort global known variables: time 1.4e-07/2.442, allocations: 0 / 1.853 GB, free: 478.9 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.005397/2.447, allocations: 2.463 MB / 1.856 GB, free: 478.7 MB / 1.514 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03631/2.483, allocations: 22.29 MB / 1.877 GB, free: 469.1 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.02193/2.505, allocations: 14.58 MB / 1.892 GB, free: 462.4 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/2.505, allocations: 2.781 kB / 1.892 GB, free: 462.4 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.01453/2.52, allocations: 9.404 MB / 1.901 GB, free: 457.7 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005082/2.525, allocations: 1.374 MB / 1.902 GB, free: 457.2 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1007/2.626, allocations: 70.4 MB / 1.971 GB, free: 408.7 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004132/2.63, allocations: 4.897 MB / 1.976 GB, free: 403.7 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.002121/2.632, allocations: 0.741 MB / 1.976 GB, free: 403 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/2.634, allocations: 2.612 MB / 1.979 GB, free: 400.4 MB / 1.514 GB Notification: Performance of SimCode: time 1.143e-06/2.634, allocations: 0 / 1.979 GB, free: 400.4 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 16.8/19.43, allocations: 196.5 MB / 2.171 GB, free: 205.5 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.36/46.79, allocations: 7.141 kB / 2.171 GB, free: 205.5 MB / 1.514 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches