Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.0007823/0.0007823, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005204/0.005204, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.522/2.522, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002891, allocations: 13.5 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2365, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008996/0.2456, allocations: 9.598 MB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004255/0.2498, allocations: 3.143 MB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005043/0.2503, allocations: 31.88 kB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.2508, allocations: 182.6 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.2521, allocations: 0.7042 MB / 1.072 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.2533, allocations: 0.6458 MB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003581/0.2569, allocations: 4.478 MB / 1.077 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003868/0.2608, allocations: 3.147 MB / 1.08 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.2621, allocations: 0.9417 MB / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.264, allocations: 1.453 MB / 1.083 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.2642, allocations: 116 kB / 1.083 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008829/0.2651, allocations: 463.2 kB / 1.083 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008804/0.266, allocations: 0.9198 MB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000949/0.267, allocations: 0.9696 MB / 1.085 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.2695, allocations: 3.524 MB / 1.088 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2695, allocations: 0 / 1.088 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2695, allocations: 0 / 1.088 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.236e-05/0.2696, allocations: 0 / 1.088 GB, free: 6.438 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002781/0.2723, allocations: 1.772 MB / 1.09 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2724, allocations: 12.03 kB / 1.09 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002929/0.2727, allocations: 257.2 kB / 1.09 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008332/0.281, allocations: 1.321 MB / 1.092 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.2829, allocations: 1.255 MB / 1.093 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/0.283, allocations: 115.4 kB / 1.093 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.2833, allocations: 152.3 kB / 1.093 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/0.2879, allocations: 3.433 MB / 1.096 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.2879, allocations: 11.94 kB / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/0.2881, allocations: 63.97 kB / 1.097 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/0.2884, allocations: 203.1 kB / 1.097 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004114/0.2925, allocations: 3.124 MB / 1.1 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.3063, allocations: 13.59 MB / 1.113 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.3085, allocations: 1.723 MB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.3102, allocations: 1.44 MB / 1.116 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.221e-05/0.3103, allocations: 16.94 kB / 1.116 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3103, allocations: 47.55 kB / 1.116 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 2.505e-06/0.3103, allocations: 0 / 1.116 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1395/0.4499, allocations: 35.96 MB / 1.151 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.45, allocations: 77.41 kB / 1.151 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.4513, allocations: 1.05 MB / 1.152 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.4515, allocations: 57.7 kB / 1.152 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/0.452, allocations: 0.7873 MB / 1.153 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005205/0.4525, allocations: 0.6277 MB / 1.154 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.4528, allocations: 153.6 kB / 1.154 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.4529, allocations: 305.1 kB / 1.154 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/0.4554, allocations: 1.928 MB / 1.156 GB, free: 15.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002694/0.4581, allocations: 2.285 MB / 1.158 GB, free: 13.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/0.4633, allocations: 4.394 MB / 1.163 GB, free: 8.727 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.4633, allocations: 11.94 kB / 1.163 GB, free: 8.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01888/0.4822, allocations: 9.019 MB / 1.172 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4823, allocations: 13.55 kB / 1.172 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.4823, allocations: 12 kB / 1.172 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01593/0.4982, allocations: 4.978 MB / 1.176 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.499, allocations: 187.7 kB / 1.177 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04926/0.5482, allocations: 35.15 MB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.5501, allocations: 103.9 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.5504, allocations: 67.94 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00136/0.5518, allocations: 0.8018 MB / 1.212 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.5521, allocations: 142.3 kB / 1.212 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/0.5715, allocations: 8.894 MB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.5715, allocations: 16 kB / 1.221 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.624e-05/0.5716, allocations: 28 kB / 1.221 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.5716, allocations: 15.95 kB / 1.221 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02491/0.5966, allocations: 13.27 MB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.5966, allocations: 4 kB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.5971, allocations: 115.9 kB / 1.234 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01602/0.6131, allocations: 4.764 MB / 1.238 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.6133, allocations: 36 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4555/1.069, allocations: 31.43 MB / 1.269 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.069, allocations: 7.438 kB / 1.269 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.086, allocations: 8.406 MB / 1.277 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/1.087, allocations: 0.6148 MB / 1.278 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/1.088, allocations: 38.88 kB / 1.278 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.089, allocations: 93.11 kB / 1.278 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005629/1.089, allocations: 162.4 kB / 1.278 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.09, allocations: 48.16 kB / 1.278 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007881/1.09, allocations: 0.7367 MB / 1.279 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.09, allocations: 3.469 kB / 1.279 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002445/1.093, allocations: 1.004 MB / 1.28 GB, free: 170.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01641/1.109, allocations: 8.986 MB / 1.289 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00725/1.117, allocations: 5.824 MB / 1.295 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.117, allocations: 2.5 kB / 1.295 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005726/1.122, allocations: 3.807 MB / 1.298 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/1.124, allocations: 229.6 kB / 1.298 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04343/1.167, allocations: 32.5 MB / 1.33 GB, free: 132.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.168, allocations: 1.862 MB / 1.332 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005946/1.169, allocations: 352 kB / 1.332 GB, free: 130 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/1.169, allocations: 0.6008 MB / 1.333 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/1.169, allocations: 8 kB / 1.333 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.085/5.254, allocations: 70.19 MB / 1.401 GB, free: 59.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/5.254, allocations: 266.3 kB / 1.402 GB, free: 59.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/8.298, allocations: 0 / 1.402 GB, free: 59.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches