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.001569/0.001569, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001898/0.001898, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.346/2.346, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001563, allocations: 67.89 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5664, allocations: 140.4 MB / 0.9492 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04182/0.6083, allocations: 40.81 MB / 0.9891 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02458/0.6329, allocations: 14.97 MB / 1.004 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004061/0.637, allocations: 167.1 kB / 1.004 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.6476, allocations: 4.175 MB / 1.008 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007014/0.6546, allocations: 2.582 MB / 1.01 GB, free: 3.258 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00682/0.6615, allocations: 2.885 MB / 1.013 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01348/0.675, allocations: 11.45 MB / 1.024 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02242/0.6975, allocations: 14.84 MB / 1.039 GB, free: 5.918 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008063/0.7056, allocations: 4.894 MB / 1.044 GB, free: 1.008 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008046/0.7137, allocations: 5.639 MB / 1.049 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00263/0.7163, allocations: 0.9492 MB / 1.05 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004798/0.7211, allocations: 2.036 MB / 1.052 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004404/0.7255, allocations: 3.699 MB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006244/0.7318, allocations: 4.299 MB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.7445, allocations: 14.29 MB / 1.074 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7445, allocations: 0 / 1.074 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7445, allocations: 0 / 1.074 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003406/0.7449, allocations: 0 / 1.074 GB, free: 2.004 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01946/0.7644, allocations: 7.592 MB / 1.081 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.7644, allocations: 12.03 kB / 1.081 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002112/0.7665, allocations: 0.8955 MB / 1.082 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.7771, allocations: 1.515 MB / 1.084 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009321/0.7864, allocations: 4.201 MB / 1.088 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004055/0.7869, allocations: 460.4 kB / 1.088 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/0.7892, allocations: 0.5978 MB / 1.089 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.8124, allocations: 10.69 MB / 1.099 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/0.8127, allocations: 27.62 kB / 1.099 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001576/0.8143, allocations: 263.9 kB / 1.1 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002676/0.817, allocations: 0.7729 MB / 1.1 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01633/0.8333, allocations: 8.557 MB / 1.109 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06069/0.8941, allocations: 46.85 MB / 1.154 GB, free: 11.24 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007312/0.9014, allocations: 4.307 MB / 1.159 GB, free: 6.918 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006165/0.9076, allocations: 3.701 MB / 1.162 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004232/0.9081, allocations: 34.78 kB / 1.162 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.939e-05/0.9082, allocations: 85.2 kB / 1.162 GB, free: 3.082 MB / 0.92 GB Notification: Performance of pre-optimization done (n=353): time 6.291e-06/0.9082, allocations: 0 / 1.162 GB, free: 3.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=578): time 1.022/1.93, allocations: 122.8 MB / 1.282 GB, free: 265.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.93, allocations: 111.2 kB / 1.282 GB, free: 265.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006127/1.937, allocations: 2.684 MB / 1.285 GB, free: 264.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00137/1.938, allocations: 122.2 kB / 1.285 GB, free: 264.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001778/1.94, allocations: 2.679 MB / 1.288 GB, free: 262.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002382/1.942, allocations: 1.951 MB / 1.29 GB, free: 261.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003674/1.946, allocations: 0.9241 MB / 1.291 GB, free: 260.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.468e-05/1.946, allocations: 309.1 kB / 1.291 GB, free: 260.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006725/1.953, allocations: 4.077 MB / 1.295 GB, free: 258.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007078/1.96, allocations: 5.014 MB / 1.3 GB, free: 256 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/1.974, allocations: 9.852 MB / 1.309 GB, free: 250 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-05/1.974, allocations: 7.719 kB / 1.309 GB, free: 250 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04175/2.016, allocations: 16.99 MB / 1.326 GB, free: 239.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/2.016, allocations: 12.94 kB / 1.326 GB, free: 239.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.13e-05/2.016, allocations: 27.94 kB / 1.326 GB, free: 239.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03232/2.048, allocations: 9.149 MB / 1.335 GB, free: 230.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/2.051, allocations: 0.5304 MB / 1.335 GB, free: 230 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1041/2.155, allocations: 77.02 MB / 1.411 GB, free: 151.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/2.161, allocations: 283.7 kB / 1.411 GB, free: 151.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/2.162, allocations: 195.9 kB / 1.411 GB, free: 151 MB / 1.014 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.005763/2.168, allocations: 2.418 MB / 1.413 GB, free: 148.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001833/2.17, allocations: 470.5 kB / 1.414 GB, free: 148.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03808/2.208, allocations: 16.82 MB / 1.43 GB, free: 131.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/2.208, allocations: 56 kB / 1.43 GB, free: 131.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002541/2.208, allocations: 75.19 kB / 1.43 GB, free: 131 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001637/2.208, allocations: 27.89 kB / 1.431 GB, free: 131 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06121/2.27, allocations: 25.65 MB / 1.456 GB, free: 105.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.995e-05/2.27, allocations: 8 kB / 1.456 GB, free: 105.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/2.272, allocations: 323.5 kB / 1.456 GB, free: 104.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0299/2.302, allocations: 8.335 MB / 1.464 GB, free: 96.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009008/2.303, allocations: 111.9 kB / 1.464 GB, free: 96.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1029/2.405, allocations: 73.88 MB / 1.536 GB, free: 20.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.49e-05/2.406, allocations: 11.94 kB / 1.536 GB, free: 20.88 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06559/2.471, allocations: 21.56 MB / 1.557 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005865/2.477, allocations: 1.354 MB / 1.559 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002798/2.48, allocations: 119.9 kB / 1.559 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005864/2.486, allocations: 283.6 kB / 1.559 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003137/2.489, allocations: 0.5258 MB / 1.56 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001065/2.49, allocations: 152 kB / 1.56 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004351/2.494, allocations: 1.772 MB / 1.561 GB, free: 10.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.51e-07/2.494, allocations: 0 / 1.561 GB, free: 10.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01287/2.507, allocations: 2.465 MB / 1.564 GB, free: 8.285 MB / 1.029 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.05665/2.564, allocations: 22.27 MB / 1.586 GB, free: 1.648 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.04209/2.606, allocations: 18.67 MB / 1.604 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/2.606, allocations: 4 kB / 1.604 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.02236/2.629, allocations: 9.352 MB / 1.613 GB, free: 5.312 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01091/2.64, allocations: 1.374 MB / 1.614 GB, free: 3.992 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5936/3.233, allocations: 82.76 MB / 1.695 GB, free: 384.4 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008169/3.241, allocations: 4.895 MB / 1.7 GB, free: 383.5 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003504/3.245, allocations: 0.7436 MB / 1.701 GB, free: 383.4 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002698/3.248, allocations: 2.606 MB / 1.703 GB, free: 383.4 MB / 1.154 GB Notification: Performance of SimCode: time 1.032e-06/3.248, allocations: 0.5312 kB / 1.703 GB, free: 383.4 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/3.524, allocations: 197.6 MB / 1.896 GB, free: 226.9 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/3.524, allocations: 258.2 kB / 1.896 GB, free: 226.6 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/10.12, allocations: 4 kB / 1.896 GB, free: 226.6 MB / 1.154 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