Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.001073/0.001073, allocations: 91.84 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.007741/0.007741, allocations: 170 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003333, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5978/0.5982, allocations: 142.4 MB / 0.9552 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03647/0.6347, allocations: 36.38 MB / 0.9907 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02127/0.656, allocations: 12.91 MB / 1.003 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004122/0.6602, allocations: 143.1 kB / 1.003 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.6625, allocations: 0.7636 MB / 1.004 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006722/0.6693, allocations: 2.352 MB / 1.006 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005699/0.675, allocations: 2.302 MB / 1.009 GB, free: 8.328 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01435/0.6893, allocations: 13.35 MB / 1.022 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02123/0.7106, allocations: 13.21 MB / 1.035 GB, free: 13.61 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006061/0.7167, allocations: 2.937 MB / 1.038 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006476/0.7232, allocations: 3.865 MB / 1.041 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.7248, allocations: 324 kB / 1.042 GB, free: 6.465 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/0.7292, allocations: 1.638 MB / 1.043 GB, free: 4.824 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003659/0.7329, allocations: 2.459 MB / 1.046 GB, free: 2.359 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004404/0.7373, allocations: 2.956 MB / 1.049 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.7484, allocations: 11.29 MB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7485, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7485, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003107/0.7488, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01176/0.7605, allocations: 5.146 MB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.7606, allocations: 8.031 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001822/0.7624, allocations: 0.7519 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008238/0.7707, allocations: 1.301 MB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006752/0.7775, allocations: 3.572 MB / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.7778, allocations: 374.5 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.7788, allocations: 0.5002 MB / 1.071 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/0.7935, allocations: 8.89 MB / 1.08 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.7936, allocations: 27.67 kB / 1.08 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005533/0.7942, allocations: 223.9 kB / 1.08 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002146/0.7963, allocations: 0.6342 MB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.8082, allocations: 7.014 MB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04839/0.8566, allocations: 40.41 MB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/0.8607, allocations: 2.909 MB / 1.13 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003602/0.8643, allocations: 2.659 MB / 1.132 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.8645, allocations: 30.08 kB / 1.132 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.8646, allocations: 68.59 kB / 1.132 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=265): time 4.339e-06/0.8646, allocations: 0 / 1.132 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of matching and sorting (n=424): time 0.2865/1.151, allocations: 77.5 MB / 1.208 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/1.151, allocations: 94.73 kB / 1.208 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/1.155, allocations: 2.359 MB / 1.21 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0006369/1.155, allocations: 101.7 kB / 1.21 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001477/1.157, allocations: 2.341 MB / 1.213 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001714/1.159, allocations: 1.432 MB / 1.214 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007959/1.159, allocations: 343 kB / 1.214 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/1.16, allocations: 301.1 kB / 1.215 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004517/1.164, allocations: 3.003 MB / 1.218 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004927/1.169, allocations: 3.843 MB / 1.221 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009737/1.179, allocations: 7.384 MB / 1.229 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/1.179, allocations: 8 kB / 1.229 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02769/1.206, allocations: 12.56 MB / 1.241 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/1.207, allocations: 17.25 kB / 1.241 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/1.207, allocations: 20 kB / 1.241 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0222/1.229, allocations: 6.029 MB / 1.247 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/1.231, allocations: 491.2 kB / 1.247 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5309/1.762, allocations: 67.28 MB / 1.313 GB, free: 237.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/1.766, allocations: 211.3 kB / 1.313 GB, free: 237.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/1.766, allocations: 161.9 kB / 1.313 GB, free: 237.6 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002855/1.769, allocations: 1.995 MB / 1.315 GB, free: 236.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000601/1.769, allocations: 390.5 kB / 1.316 GB, free: 236.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02427/1.794, allocations: 12.24 MB / 1.328 GB, free: 231.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/1.794, allocations: 37 kB / 1.328 GB, free: 231.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001298/1.794, allocations: 52.94 kB / 1.328 GB, free: 231.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.773e-05/1.794, allocations: 19.92 kB / 1.328 GB, free: 231.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03234/1.826, allocations: 19.17 MB / 1.346 GB, free: 216.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/1.826, allocations: 8 kB / 1.346 GB, free: 216.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.828, allocations: 291.5 kB / 1.347 GB, free: 216 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01856/1.846, allocations: 5.576 MB / 1.352 GB, free: 210.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006411/1.847, allocations: 80 kB / 1.352 GB, free: 210.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0594/1.906, allocations: 64.91 MB / 1.416 GB, free: 142.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.907, allocations: 11.94 kB / 1.416 GB, free: 142.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02619/1.933, allocations: 15.62 MB / 1.431 GB, free: 126.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/1.935, allocations: 1.047 MB / 1.432 GB, free: 125.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005346/1.936, allocations: 83.98 kB / 1.432 GB, free: 125.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.938, allocations: 211.7 kB / 1.432 GB, free: 125.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/1.939, allocations: 414.1 kB / 1.433 GB, free: 124.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002359/1.939, allocations: 108.3 kB / 1.433 GB, free: 124.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0017/1.941, allocations: 1.556 MB / 1.434 GB, free: 123 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.941, allocations: 0 / 1.434 GB, free: 123 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005666/1.947, allocations: 1.863 MB / 1.436 GB, free: 121.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02536/1.972, allocations: 16.29 MB / 1.452 GB, free: 104.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01689/1.989, allocations: 12.19 MB / 1.464 GB, free: 92.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.989, allocations: 4 kB / 1.464 GB, free: 92.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01218/2.001, allocations: 8.386 MB / 1.472 GB, free: 83.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007356/2.009, allocations: 1.115 MB / 1.473 GB, free: 82.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08657/2.095, allocations: 62.75 MB / 1.534 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/2.099, allocations: 4.09 MB / 1.538 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002104/2.101, allocations: 0.6747 MB / 1.539 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/2.103, allocations: 2.124 MB / 1.541 GB, free: 8.535 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/2.103, allocations: 0 / 1.541 GB, free: 8.535 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.203/8.305, allocations: 144.4 MB / 1.682 GB, free: 9.449 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/8.306, allocations: 243.5 kB / 1.682 GB, free: 9.199 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.103/13.41, allocations: 3.938 kB / 1.682 GB, free: 9.195 MB / 1.154 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches