Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_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_9_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.00474/0.00474, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.001117/0.001117, allocations: 190.9 kB / 16.67 MB, free: 5.949 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.39 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2786, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04537/0.324, allocations: 41.19 MB / 1.128 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02683/0.3509, allocations: 15.09 MB / 1.142 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006203/0.3571, allocations: 187.1 kB / 1.143 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.3691, allocations: 4.451 MB / 1.147 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.3796, allocations: 2.794 MB / 1.15 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009742/0.3894, allocations: 3.161 MB / 1.153 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01654/0.4059, allocations: 11.4 MB / 1.164 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02188/0.4279, allocations: 12.47 MB / 1.176 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008911/0.4368, allocations: 4.818 MB / 1.181 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01014/0.447, allocations: 5.39 MB / 1.186 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.004903/0.4519, allocations: 0.9492 MB / 1.187 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008608/0.4606, allocations: 2.044 MB / 1.189 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.008201/0.4688, allocations: 3.688 MB / 1.193 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0106/0.4794, allocations: 4.295 MB / 1.197 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.02394/0.5034, allocations: 14.28 MB / 1.211 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.5035, allocations: 4 kB / 1.211 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5035, allocations: 3.938 kB / 1.211 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0005433/0.504, allocations: 0 / 1.211 GB, free: 3.289 MB / 0.9669 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.02497/0.529, allocations: 7.6 MB / 1.218 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5291, allocations: 8.031 kB / 1.218 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002893/0.532, allocations: 0.8877 MB / 1.219 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.543, allocations: 1.526 MB / 1.221 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.5534, allocations: 4.443 MB / 1.225 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004182/0.5539, allocations: 464.4 kB / 1.225 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002811/0.5567, allocations: 0.59 MB / 1.226 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02207/0.5788, allocations: 10.69 MB / 1.236 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.579, allocations: 27.78 kB / 1.236 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001108/0.5801, allocations: 263.9 kB / 1.237 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/0.5831, allocations: 0.7729 MB / 1.237 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/0.6021, allocations: 8.565 MB / 1.246 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5587/1.161, allocations: 46.52 MB / 1.291 GB, free: 121 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/1.168, allocations: 4.307 MB / 1.295 GB, free: 119.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006308/1.174, allocations: 3.716 MB / 1.299 GB, free: 117.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/1.175, allocations: 39.86 kB / 1.299 GB, free: 117.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.289e-05/1.175, allocations: 81.98 kB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=353): time 7.965e-06/1.175, allocations: 0 / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=578): time 0.487/1.662, allocations: 122.8 MB / 1.419 GB, free: 18.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/1.662, allocations: 107.9 kB / 1.419 GB, free: 18.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/1.664, allocations: 2.689 MB / 1.422 GB, free: 15.74 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0008538/1.665, allocations: 125.7 kB / 1.422 GB, free: 15.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009872/1.666, allocations: 2.671 MB / 1.424 GB, free: 12.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.668, allocations: 1.961 MB / 1.426 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/1.669, allocations: 0.9277 MB / 1.427 GB, free: 10.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.124e-05/1.669, allocations: 301.1 kB / 1.428 GB, free: 9.742 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004493/1.674, allocations: 4.079 MB / 1.432 GB, free: 5.656 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004909/1.679, allocations: 5.019 MB / 1.436 GB, free: 320 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/1.692, allocations: 9.847 MB / 1.446 GB, free: 6.086 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.706e-05/1.692, allocations: 12 kB / 1.446 GB, free: 6.074 MB / 1.029 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03786/1.73, allocations: 16.99 MB / 1.463 GB, free: 4.949 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/1.73, allocations: 17.72 kB / 1.463 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/1.73, allocations: 23.81 kB / 1.463 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03236/1.762, allocations: 9.086 MB / 1.472 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/1.765, allocations: 0.5187 MB / 1.472 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1063/1.871, allocations: 76.96 MB / 1.547 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/1.877, allocations: 283.9 kB / 1.548 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009165/1.878, allocations: 199.9 kB / 1.548 GB, free: 12.3 MB / 1.139 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.004287/1.882, allocations: 2.421 MB / 1.55 GB, free: 9.867 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.883, allocations: 470.5 kB / 1.551 GB, free: 9.402 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03789/1.921, allocations: 16.82 MB / 1.567 GB, free: 8.438 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.871e-05/1.921, allocations: 52 kB / 1.567 GB, free: 8.387 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002153/1.921, allocations: 76 kB / 1.567 GB, free: 8.312 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001236/1.921, allocations: 27.89 kB / 1.567 GB, free: 8.285 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05239/1.974, allocations: 25.65 MB / 1.592 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/1.974, allocations: 8 kB / 1.592 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/1.976, allocations: 319.5 kB / 1.592 GB, free: 14.08 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02907/2.005, allocations: 8.269 MB / 1.601 GB, free: 5.773 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009766/2.006, allocations: 112 kB / 1.601 GB, free: 5.664 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09659/2.102, allocations: 73.82 MB / 1.673 GB, free: 10.3 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/2.103, allocations: 11.94 kB / 1.673 GB, free: 10.29 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04065/2.143, allocations: 21.57 MB / 1.694 GB, free: 4.363 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003613/2.147, allocations: 1.358 MB / 1.695 GB, free: 2.98 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009642/2.148, allocations: 119.8 kB / 1.695 GB, free: 2.863 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/2.151, allocations: 287.6 kB / 1.696 GB, free: 2.582 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001636/2.153, allocations: 0.5255 MB / 1.696 GB, free: 2.055 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003705/2.153, allocations: 147.9 kB / 1.696 GB, free: 1.91 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002201/2.155, allocations: 1.78 MB / 1.698 GB, free: 144 kB / 1.279 GB Notification: Performance of sort global known variables: time 1.352e-06/2.155, allocations: 0 / 1.698 GB, free: 144 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.006227/2.162, allocations: 2.465 MB / 1.7 GB, free: 13.67 MB / 1.295 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.03991/2.201, allocations: 22.26 MB / 1.722 GB, free: 7.055 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02388/2.225, allocations: 14.54 MB / 1.736 GB, free: 8.328 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/2.225, allocations: 4 kB / 1.736 GB, free: 8.324 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.01691/2.242, allocations: 9.348 MB / 1.745 GB, free: 14.83 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007342/2.25, allocations: 1.379 MB / 1.747 GB, free: 13.5 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.617/2.867, allocations: 70.17 MB / 1.815 GB, free: 451.4 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004932/2.872, allocations: 4.896 MB / 1.82 GB, free: 449.8 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002188/2.874, allocations: 0.7495 MB / 1.821 GB, free: 449.8 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/2.876, allocations: 2.603 MB / 1.823 GB, free: 447.5 MB / 1.357 GB Notification: Performance of SimCode: time 1.002e-06/2.876, allocations: 0 / 1.823 GB, free: 447.5 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9115/3.788, allocations: 196.4 MB / 2.015 GB, free: 279.5 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.83/29.62, allocations: 4.734 kB / 2.015 GB, free: 279.5 MB / 1.357 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches