Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_R_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.0008886/0.0008887, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005631/0.005631, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003113, allocations: 16 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5698/0.5701, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0354/0.6056, allocations: 36.73 MB / 1.059 GB, free: 11 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0177/0.6233, allocations: 10.88 MB / 1.07 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/0.6265, allocations: 131.4 kB / 1.07 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.6291, allocations: 0.7791 MB / 1.071 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005372/0.6345, allocations: 2.088 MB / 1.073 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.6387, allocations: 1.798 MB / 1.074 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01221/0.651, allocations: 13.19 MB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02383/0.6748, allocations: 14.46 MB / 1.101 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005467/0.6803, allocations: 2.836 MB / 1.104 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006459/0.6868, allocations: 3.865 MB / 1.108 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.6884, allocations: 348 kB / 1.108 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.692, allocations: 1.33 MB / 1.109 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003539/0.6956, allocations: 2.529 MB / 1.112 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005916/0.7015, allocations: 2.964 MB / 1.115 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.7143, allocations: 11.68 MB / 1.126 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7144, allocations: 0 / 1.126 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7144, allocations: 3.938 kB / 1.126 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003922/0.7148, allocations: 0 / 1.126 GB, free: 5.859 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01291/0.7277, allocations: 5.09 MB / 1.131 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7278, allocations: 12.03 kB / 1.131 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002581/0.7304, allocations: 0.8295 MB / 1.132 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005911/0.7363, allocations: 1.071 MB / 1.133 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006201/0.7425, allocations: 3.415 MB / 1.136 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003573/0.7429, allocations: 427.8 kB / 1.137 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.7445, allocations: 0.5433 MB / 1.137 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/0.763, allocations: 9.381 MB / 1.147 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.7632, allocations: 19.78 kB / 1.147 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008405/0.7641, allocations: 244 kB / 1.147 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000588/0.7647, allocations: 419 kB / 1.147 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/0.7789, allocations: 7.127 MB / 1.154 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04758/0.8265, allocations: 41.37 MB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005189/0.8317, allocations: 3.104 MB / 1.198 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00323/0.835, allocations: 2.122 MB / 1.2 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.8351, allocations: 22 kB / 1.2 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.8352, allocations: 60.56 kB / 1.2 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=209): time 3.697e-06/0.8352, allocations: 0 / 1.2 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of matching and sorting (n=212): time 0.02376/0.8589, allocations: 10.62 MB / 1.21 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.859, allocations: 73.41 kB / 1.21 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.8618, allocations: 2.002 MB / 1.212 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.862, allocations: 65.7 kB / 1.212 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.8635, allocations: 2.404 MB / 1.215 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005784/0.8641, allocations: 0.7318 MB / 1.215 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.8644, allocations: 211.1 kB / 1.215 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.8645, allocations: 305.1 kB / 1.216 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.8664, allocations: 1.372 MB / 1.217 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/0.8688, allocations: 2.112 MB / 1.219 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/0.8735, allocations: 3.762 MB / 1.223 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.8735, allocations: 7.938 kB / 1.223 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008452/0.882, allocations: 5.069 MB / 1.228 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.882, allocations: 16 kB / 1.228 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.882, allocations: 24.16 kB / 1.228 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003471/0.8855, allocations: 1.58 MB / 1.229 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.8871, allocations: 455.2 kB / 1.23 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/0.9075, allocations: 17.1 MB / 1.246 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.9096, allocations: 151.9 kB / 1.247 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.9099, allocations: 104 kB / 1.247 GB, free: 4.875 MB / 0.9981 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003159/0.913, allocations: 1.946 MB / 1.249 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005547/0.9136, allocations: 288.6 kB / 1.249 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4477/1.361, allocations: 4.452 MB / 1.253 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/1.361, allocations: 19.84 kB / 1.253 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.677e-05/1.361, allocations: 18.47 kB / 1.253 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-05/1.361, allocations: 11.27 kB / 1.253 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/1.378, allocations: 9.667 MB / 1.263 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.378, allocations: 4.953 kB / 1.263 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.379, allocations: 234.1 kB / 1.263 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003515/1.383, allocations: 1.432 MB / 1.264 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/1.383, allocations: 40.12 kB / 1.264 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/1.401, allocations: 17.1 MB / 1.281 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.401, allocations: 3.906 kB / 1.281 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/1.406, allocations: 4.538 MB / 1.286 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008931/1.407, allocations: 0.6373 MB / 1.286 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/1.407, allocations: 43.72 kB / 1.286 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.408, allocations: 120.3 kB / 1.286 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/1.409, allocations: 176.1 kB / 1.286 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.409, allocations: 59.34 kB / 1.287 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001345/1.41, allocations: 1.319 MB / 1.288 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.012e-06/1.41, allocations: 0 / 1.288 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002395/1.413, allocations: 1.143 MB / 1.289 GB, free: 191.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00533/1.418, allocations: 5.163 MB / 1.294 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005227/1.423, allocations: 4.699 MB / 1.299 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.341e-06/1.423, allocations: 3.938 kB / 1.299 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00333/1.427, allocations: 2.925 MB / 1.301 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/1.431, allocations: 0.833 MB / 1.302 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03619/1.467, allocations: 35.94 MB / 1.337 GB, free: 146 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002733/1.47, allocations: 3.694 MB / 1.341 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001561/1.471, allocations: 0.5479 MB / 1.341 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/1.473, allocations: 1.94 MB / 1.343 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.473, allocations: 0 / 1.343 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.151/1.624, allocations: 82.41 MB / 1.424 GB, free: 58.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/1.624, allocations: 245.4 kB / 1.424 GB, free: 58.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/4.801, allocations: 6.656 kB / 1.424 GB, free: 58.08 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches