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 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.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.007329/0.007329, allocations: 100.3 kB / 15.73 MB, free: 6.477 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.001785/0.001785, allocations: 192.5 kB / 16.67 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 64.12 kB / 1.054 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3567, allocations: 157.4 MB / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04783/0.4046, allocations: 41.19 MB / 1.248 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7975/1.202, allocations: 15.06 MB / 1.262 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005623/1.208, allocations: 185.3 kB / 1.262 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/1.219, allocations: 4.465 MB / 1.267 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/1.23, allocations: 2.791 MB / 1.269 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/1.241, allocations: 3.166 MB / 1.273 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02035/1.262, allocations: 11.42 MB / 1.284 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0206/1.282, allocations: 12.46 MB / 1.296 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01364/1.296, allocations: 4.958 MB / 1.301 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01397/1.31, allocations: 5.387 MB / 1.306 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.005051/1.315, allocations: 0.9495 MB / 1.307 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009918/1.325, allocations: 2.042 MB / 1.309 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.009586/1.335, allocations: 3.695 MB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01512/1.35, allocations: 4.297 MB / 1.317 GB, free: 9.152 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02662/1.377, allocations: 14.27 MB / 1.331 GB, free: 1.164 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/1.377, allocations: 0 / 1.331 GB, free: 1.164 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.214e-06/1.377, allocations: 3.938 kB / 1.331 GB, free: 1.16 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0006013/1.377, allocations: 1.125 kB / 1.331 GB, free: 1.16 MB / 1.014 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.03109/1.408, allocations: 7.609 MB / 1.338 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/1.409, allocations: 11.66 kB / 1.338 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00428/1.413, allocations: 0.893 MB / 1.339 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/1.426, allocations: 1.521 MB / 1.34 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/1.439, allocations: 4.442 MB / 1.345 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004419/1.439, allocations: 453.5 kB / 1.345 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003516/1.443, allocations: 0.5963 MB / 1.346 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02936/1.472, allocations: 10.69 MB / 1.356 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003073/1.473, allocations: 23.78 kB / 1.356 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003036/1.476, allocations: 259.9 kB / 1.357 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00288/1.479, allocations: 0.7729 MB / 1.357 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02362/1.502, allocations: 8.568 MB / 1.366 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07609/1.578, allocations: 46.53 MB / 1.411 GB, free: 2.906 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006779/1.585, allocations: 4.32 MB / 1.415 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005843/1.591, allocations: 3.707 MB / 1.419 GB, free: 10.87 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/1.592, allocations: 42.78 kB / 1.419 GB, free: 10.82 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/1.592, allocations: 73.34 kB / 1.419 GB, free: 10.74 MB / 1.107 GB Notification: Performance of pre-optimization done (n=353): time 8.196e-06/1.592, allocations: 0 / 1.419 GB, free: 10.74 MB / 1.107 GB Notification: Performance of matching and sorting (n=578): time 0.4749/2.067, allocations: 122.8 MB / 1.539 GB, free: 15.2 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/2.067, allocations: 107.9 kB / 1.539 GB, free: 15.08 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004153/2.071, allocations: 2.681 MB / 1.542 GB, free: 12.4 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001278/2.072, allocations: 129.7 kB / 1.542 GB, free: 12.27 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/2.074, allocations: 2.677 MB / 1.544 GB, free: 9.566 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002588/2.077, allocations: 1.951 MB / 1.546 GB, free: 7.633 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001935/2.079, allocations: 0.9248 MB / 1.547 GB, free: 6.699 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/2.079, allocations: 305.1 kB / 1.548 GB, free: 6.398 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005701/2.084, allocations: 4.079 MB / 1.551 GB, free: 2.312 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00667/2.091, allocations: 5.021 MB / 1.556 GB, free: 12.97 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/2.105, allocations: 9.848 MB / 1.566 GB, free: 2.75 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/2.105, allocations: 4 kB / 1.566 GB, free: 2.746 MB / 1.248 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03857/2.144, allocations: 17 MB / 1.583 GB, free: 1.621 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/2.144, allocations: 16 kB / 1.583 GB, free: 1.605 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/2.144, allocations: 24.09 kB / 1.583 GB, free: 1.582 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03021/2.174, allocations: 9.081 MB / 1.592 GB, free: 8.457 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/2.177, allocations: 0.5226 MB / 1.592 GB, free: 7.934 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1056/2.282, allocations: 76.95 MB / 1.667 GB, free: 9.434 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/2.288, allocations: 279.8 kB / 1.667 GB, free: 9.16 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/2.29, allocations: 195.9 kB / 1.668 GB, free: 8.969 MB / 1.357 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.007356/2.297, allocations: 2.429 MB / 1.67 GB, free: 6.527 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/2.299, allocations: 470.5 kB / 1.67 GB, free: 6.062 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03682/2.336, allocations: 16.82 MB / 1.687 GB, free: 5.098 MB / 1.373 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.446e-05/2.336, allocations: 52 kB / 1.687 GB, free: 5.047 MB / 1.373 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001977/2.336, allocations: 76.12 kB / 1.687 GB, free: 4.973 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000106/2.336, allocations: 27.89 kB / 1.687 GB, free: 4.945 MB / 1.373 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05476/2.391, allocations: 25.66 MB / 1.712 GB, free: 11.05 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.027e-05/2.391, allocations: 4 kB / 1.712 GB, free: 11.05 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/2.393, allocations: 319.5 kB / 1.712 GB, free: 10.74 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02787/2.421, allocations: 8.273 MB / 1.72 GB, free: 2.418 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001216/2.422, allocations: 108 kB / 1.721 GB, free: 2.312 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1011/2.523, allocations: 73.83 MB / 1.793 GB, free: 6.953 MB / 1.482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/2.523, allocations: 15.92 kB / 1.793 GB, free: 6.938 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04163/2.565, allocations: 21.56 MB / 1.814 GB, free: 1.012 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.629/3.194, allocations: 1.356 MB / 1.815 GB, free: 494.9 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002311/3.196, allocations: 109 kB / 1.815 GB, free: 494.9 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004731/3.201, allocations: 286.5 kB / 1.815 GB, free: 494.9 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00254/3.203, allocations: 0.5238 MB / 1.816 GB, free: 494.9 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008672/3.204, allocations: 142.5 kB / 1.816 GB, free: 494.9 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.003617/3.208, allocations: 1.78 MB / 1.818 GB, free: 494.8 MB / 1.498 GB Notification: Performance of sort global known variables: time 1.192e-06/3.208, allocations: 0.9688 kB / 1.818 GB, free: 494.8 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.01034/3.218, allocations: 2.464 MB / 1.82 GB, free: 494.8 MB / 1.498 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.04863/3.267, allocations: 22.28 MB / 1.842 GB, free: 493 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.02559/3.293, allocations: 14.53 MB / 1.856 GB, free: 491 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/3.293, allocations: 2.312 kB / 1.856 GB, free: 491 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.02292/3.316, allocations: 9.347 MB / 1.865 GB, free: 486.5 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/3.329, allocations: 1.375 MB / 1.867 GB, free: 486.1 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1442/3.473, allocations: 70.17 MB / 1.935 GB, free: 448.3 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008738/3.482, allocations: 4.89 MB / 1.94 GB, free: 444.5 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.003113/3.485, allocations: 0.7452 MB / 1.941 GB, free: 443.9 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002822/3.488, allocations: 2.61 MB / 1.943 GB, free: 441.5 MB / 1.498 GB Notification: Performance of SimCode: time 8.01e-07/3.488, allocations: 0 / 1.943 GB, free: 441.5 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2687/3.756, allocations: 200.1 MB / 2.139 GB, free: 245.3 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.03/23.79, allocations: 19.78 kB / 2.139 GB, free: 245.3 MB / 1.498 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=50 --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