Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.0009953/0.0009953, allocations: 90.52 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.006476/0.006476, allocations: 174.1 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002902, allocations: 7.562 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.242, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02082/0.2629, allocations: 21.78 MB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009229/0.2721, allocations: 6.182 MB / 1.086 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.2736, allocations: 83.5 kB / 1.086 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.2749, allocations: 440.7 kB / 1.087 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004074/0.2789, allocations: 1.537 MB / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.2819, allocations: 1.102 MB / 1.089 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007726/0.2897, allocations: 8.849 MB / 1.098 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009762/0.2995, allocations: 7.173 MB / 1.105 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.3023, allocations: 1.774 MB / 1.107 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.306, allocations: 2.593 MB / 1.109 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007275/0.3068, allocations: 204 kB / 1.109 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.3091, allocations: 1.022 MB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002127/0.3112, allocations: 1.726 MB / 1.112 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002856/0.3141, allocations: 1.828 MB / 1.114 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006726/0.3208, allocations: 6.97 MB / 1.121 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3209, allocations: 3.938 kB / 1.121 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3209, allocations: 0 / 1.121 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001795/0.3211, allocations: 0 / 1.121 GB, free: 5.316 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006207/0.3273, allocations: 3.08 MB / 1.124 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3273, allocations: 8.031 kB / 1.124 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001179/0.3285, allocations: 0.5014 MB / 1.124 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006186/0.3347, allocations: 1.206 MB / 1.125 GB, free: 456 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.3386, allocations: 2.223 MB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.3388, allocations: 238.4 kB / 1.128 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008498/0.3396, allocations: 319.8 kB / 1.128 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.35, allocations: 6.212 MB / 1.134 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-05/0.3501, allocations: 15.94 kB / 1.134 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005288/0.3506, allocations: 136 kB / 1.134 GB, free: 7 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000486/0.3511, allocations: 410.2 kB / 1.135 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007601/0.3587, allocations: 4.654 MB / 1.139 GB, free: 1.934 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02696/0.3857, allocations: 29.09 MB / 1.168 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.3876, allocations: 1.419 MB / 1.169 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.3893, allocations: 1.476 MB / 1.17 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.484e-05/0.3894, allocations: 17 kB / 1.17 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3895, allocations: 51.48 kB / 1.17 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.766e-06/0.3895, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1362/0.5257, allocations: 36.32 MB / 1.206 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.5257, allocations: 73.34 kB / 1.206 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.5275, allocations: 1.427 MB / 1.207 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.5277, allocations: 53.7 kB / 1.207 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008704/0.5286, allocations: 1.531 MB / 1.209 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/0.5292, allocations: 0.6123 MB / 1.209 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.5294, allocations: 165.7 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.5295, allocations: 301.1 kB / 1.21 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.5318, allocations: 1.784 MB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.5345, allocations: 2.354 MB / 1.214 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005149/0.5396, allocations: 4.383 MB / 1.218 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.5396, allocations: 4 kB / 1.218 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01664/0.5563, allocations: 8.571 MB / 1.227 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5563, allocations: 12 kB / 1.227 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.5564, allocations: 20 kB / 1.227 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/0.5701, allocations: 4.637 MB / 1.231 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.5712, allocations: 303.5 kB / 1.231 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4571/1.028, allocations: 29.46 MB / 1.26 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/1.03, allocations: 159.8 kB / 1.26 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/1.031, allocations: 86.34 kB / 1.26 GB, free: 166.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001974/1.032, allocations: 1.324 MB / 1.262 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/1.033, allocations: 199.2 kB / 1.262 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/1.051, allocations: 8.446 MB / 1.27 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/1.051, allocations: 17.34 kB / 1.27 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-05/1.051, allocations: 25.58 kB / 1.27 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/1.051, allocations: 9.797 kB / 1.27 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0206/1.072, allocations: 12.85 MB / 1.283 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.072, allocations: 6.5 kB / 1.283 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/1.073, allocations: 159.3 kB / 1.283 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01267/1.085, allocations: 4.497 MB / 1.287 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/1.085, allocations: 39.81 kB / 1.287 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0328/1.118, allocations: 29.09 MB / 1.316 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.118, allocations: 11.94 kB / 1.316 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/1.132, allocations: 8.24 MB / 1.324 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000894/1.133, allocations: 0.626 MB / 1.324 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/1.133, allocations: 43.98 kB / 1.325 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.134, allocations: 131.8 kB / 1.325 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005935/1.135, allocations: 176.9 kB / 1.325 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.135, allocations: 49.12 kB / 1.325 GB, free: 132 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009218/1.136, allocations: 0.9588 MB / 1.326 GB, free: 131 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.136, allocations: 0 / 1.326 GB, free: 131 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002502/1.138, allocations: 1.113 MB / 1.327 GB, free: 129.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01366/1.152, allocations: 8.839 MB / 1.336 GB, free: 121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00975/1.162, allocations: 6.413 MB / 1.342 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.162, allocations: 3.469 kB / 1.342 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007288/1.169, allocations: 4.292 MB / 1.346 GB, free: 110.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/1.173, allocations: 0.4964 MB / 1.346 GB, free: 109.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04756/1.22, allocations: 36.71 MB / 1.382 GB, free: 71.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/1.222, allocations: 2.727 MB / 1.385 GB, free: 68.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009498/1.223, allocations: 392.5 kB / 1.385 GB, free: 68.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000944/1.224, allocations: 1.214 MB / 1.387 GB, free: 66.85 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/1.224, allocations: 7.938 kB / 1.387 GB, free: 66.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.682/5.906, allocations: 78.72 MB / 1.463 GB, free: 4.645 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/5.906, allocations: 260.3 kB / 1.464 GB, free: 4.363 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/8.646, allocations: 0 / 1.464 GB, free: 4.363 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches