Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_L_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001395/0.001395, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001675/0.001675, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.247/1.247, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.318/2.318, allocations: 437.1 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.88 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.5588, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03336/0.5922, allocations: 34.53 MB / 1.051 GB, free: 60 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.6074, allocations: 11.4 MB / 1.062 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.6095, allocations: 143.2 kB / 1.062 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008616/0.6182, allocations: 3.999 MB / 1.066 GB, free: 492 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.6223, allocations: 1.824 MB / 1.068 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004603/0.6269, allocations: 2.198 MB / 1.07 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008103/0.635, allocations: 8.487 MB / 1.078 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01643/0.6515, allocations: 13.42 MB / 1.091 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004745/0.6562, allocations: 3.797 MB / 1.095 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005326/0.6616, allocations: 4.397 MB / 1.099 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.6632, allocations: 0.7773 MB / 1.1 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.6671, allocations: 2.024 MB / 1.102 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003011/0.6701, allocations: 3.053 MB / 1.105 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.6733, allocations: 3.404 MB / 1.108 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009292/0.6826, allocations: 12.02 MB / 1.12 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6826, allocations: 0 / 1.12 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6826, allocations: 0 / 1.12 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001535/0.6828, allocations: 0 / 1.12 GB, free: 8.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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.008796/0.6916, allocations: 5.791 MB / 1.126 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6916, allocations: 8.031 kB / 1.126 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009222/0.6925, allocations: 0.8129 MB / 1.126 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.6976, allocations: 1.06 MB / 1.127 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/0.702, allocations: 3.259 MB / 1.131 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.7022, allocations: 415.4 kB / 1.131 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007025/0.703, allocations: 0.5392 MB / 1.132 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.7152, allocations: 9.079 MB / 1.14 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.7153, allocations: 23.78 kB / 1.14 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004816/0.7158, allocations: 240 kB / 1.141 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003096/0.7161, allocations: 350.8 kB / 1.141 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009068/0.7252, allocations: 6.822 MB / 1.148 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03255/0.7577, allocations: 40.12 MB / 1.187 GB, free: 168 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/0.761, allocations: 3.108 MB / 1.19 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.7632, allocations: 1.974 MB / 1.192 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.778e-05/0.7633, allocations: 18 kB / 1.192 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.7634, allocations: 56.5 kB / 1.192 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 2.896e-06/0.7634, allocations: 0 / 1.192 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.02101/0.7844, allocations: 9.977 MB / 1.202 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.7845, allocations: 69.41 kB / 1.202 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.7862, allocations: 1.526 MB / 1.203 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.7863, allocations: 53.7 kB / 1.203 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.7876, allocations: 2.257 MB / 1.205 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000453/0.7881, allocations: 0.6277 MB / 1.206 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005343/0.7886, allocations: 403.9 kB / 1.206 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.7887, allocations: 309.1 kB / 1.207 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.7902, allocations: 1.183 MB / 1.208 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.7921, allocations: 1.885 MB / 1.21 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/0.7957, allocations: 3.364 MB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.7957, allocations: 7.938 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00654/0.8022, allocations: 4.577 MB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.8023, allocations: 20.06 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.8023, allocations: 24 kB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/0.8058, allocations: 1.584 MB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.8068, allocations: 355.3 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/0.8271, allocations: 18.61 MB / 1.238 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.8286, allocations: 119.9 kB / 1.238 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.8287, allocations: 92 kB / 1.238 GB, free: 10.41 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002413/0.8311, allocations: 1.894 MB / 1.24 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.8314, allocations: 225.4 kB / 1.24 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/0.8375, allocations: 4.094 MB / 1.244 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.8375, allocations: 16 kB / 1.244 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.8375, allocations: 16 kB / 1.244 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.8375, allocations: 15.89 kB / 1.244 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4142/1.252, allocations: 9.466 MB / 1.253 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.252, allocations: 4.562 kB / 1.253 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/1.252, allocations: 180.8 kB / 1.253 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/1.256, allocations: 1.364 MB / 1.255 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/1.256, allocations: 35.97 kB / 1.255 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/1.275, allocations: 17.36 MB / 1.272 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.275, allocations: 9.469 kB / 1.272 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00551/1.28, allocations: 4.069 MB / 1.276 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007177/1.281, allocations: 0.5291 MB / 1.276 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/1.281, allocations: 35 kB / 1.276 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/1.282, allocations: 89.16 kB / 1.276 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/1.282, allocations: 159.6 kB / 1.276 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.995e-05/1.282, allocations: 49.53 kB / 1.276 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001081/1.284, allocations: 1.008 MB / 1.277 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.284, allocations: 0.6562 kB / 1.277 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002241/1.286, allocations: 0.9904 MB / 1.278 GB, free: 196.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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004885/1.291, allocations: 4.667 MB / 1.283 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006033/1.297, allocations: 5.194 MB / 1.288 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.297, allocations: 1 kB / 1.288 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/1.3, allocations: 2.674 MB / 1.291 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/1.302, allocations: 0.7727 MB / 1.291 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02954/1.332, allocations: 30.92 MB / 1.322 GB, free: 161 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/1.334, allocations: 3.583 MB / 1.325 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001037/1.335, allocations: 463.9 kB / 1.326 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.336, allocations: 1.788 MB / 1.327 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.336, allocations: 0 / 1.327 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7081/2.044, allocations: 72.65 MB / 1.398 GB, free: 83.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/2.045, allocations: 252.5 kB / 1.398 GB, free: 82.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/4.793, allocations: 4 kB / 1.398 GB, free: 82.94 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches