Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001486/0.001486, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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: 192.9 kB / 16.25 MB, free: 6.625 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 71.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7127, allocations: 140.4 MB / 0.9493 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03245/0.7451, allocations: 33.01 MB / 0.9815 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02276/0.7679, allocations: 14.69 MB / 0.9958 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003973/0.7719, allocations: 143.2 kB / 0.996 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008895/0.7809, allocations: 3.401 MB / 0.9993 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009302/0.7902, allocations: 2.678 MB / 1.002 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005941/0.7962, allocations: 2.133 MB / 1.004 GB, free: 9.855 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.8073, allocations: 8.844 MB / 1.013 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01657/0.8239, allocations: 11.37 MB / 1.024 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006338/0.8303, allocations: 4.007 MB / 1.028 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006235/0.8365, allocations: 4.221 MB / 1.032 GB, free: 13.25 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002066/0.8386, allocations: 0.7187 MB / 1.032 GB, free: 12.53 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004513/0.8431, allocations: 1.705 MB / 1.034 GB, free: 10.83 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004565/0.8477, allocations: 2.83 MB / 1.037 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006708/0.8545, allocations: 3.396 MB / 1.04 GB, free: 4.582 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.8689, allocations: 11.2 MB / 1.051 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8689, allocations: 0 / 1.051 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.475e-06/0.869, allocations: 0 / 1.051 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003637/0.8693, allocations: 0 / 1.051 GB, free: 9.352 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0153/0.8846, allocations: 5.979 MB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.8847, allocations: 8.031 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001603/0.8863, allocations: 0.7309 MB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006467/0.8928, allocations: 1.145 MB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005579/0.8984, allocations: 3.321 MB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.8986, allocations: 374.4 kB / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006817/0.8993, allocations: 0.4997 MB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.9106, allocations: 8.001 MB / 1.071 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.9107, allocations: 19.78 kB / 1.071 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/0.9112, allocations: 212 kB / 1.071 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009583/0.9122, allocations: 437.6 kB / 1.071 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008532/0.9207, allocations: 6.088 MB / 1.077 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03291/0.9536, allocations: 35.15 MB / 1.112 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.9562, allocations: 2.022 MB / 1.114 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/0.9586, allocations: 1.873 MB / 1.115 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.9587, allocations: 18 kB / 1.115 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.9588, allocations: 60.5 kB / 1.116 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=171): time 3.156e-06/0.9588, allocations: 0 / 1.116 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=276): time 0.1406/1.099, allocations: 38.86 MB / 1.153 GB, free: 12.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/1.1, allocations: 81.58 kB / 1.154 GB, free: 12.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/1.103, allocations: 2.286 MB / 1.156 GB, free: 10.4 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/1.104, allocations: 73.7 kB / 1.156 GB, free: 10.32 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/1.105, allocations: 2.276 MB / 1.158 GB, free: 8.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008134/1.106, allocations: 0.9241 MB / 1.159 GB, free: 7.086 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/1.107, allocations: 0.51 MB / 1.159 GB, free: 6.566 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.107, allocations: 305.1 kB / 1.16 GB, free: 6.266 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/1.11, allocations: 1.973 MB / 1.162 GB, free: 4.289 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/1.113, allocations: 2.599 MB / 1.164 GB, free: 1.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00615/1.119, allocations: 4.929 MB / 1.169 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/1.119, allocations: 8 kB / 1.169 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01513/1.134, allocations: 7.762 MB / 1.177 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/1.134, allocations: 16.19 kB / 1.177 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/1.134, allocations: 20 kB / 1.177 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009489/1.144, allocations: 3.231 MB / 1.18 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.146, allocations: 403.4 kB / 1.18 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04418/1.19, allocations: 33.9 MB / 1.213 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/1.193, allocations: 163.8 kB / 1.213 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004499/1.193, allocations: 108 kB / 1.214 GB, free: 13.71 MB / 0.9825 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003078/1.196, allocations: 1.801 MB / 1.215 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/1.197, allocations: 328.2 kB / 1.216 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/1.211, allocations: 7.364 MB / 1.223 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/1.212, allocations: 28 kB / 1.223 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-05/1.212, allocations: 28 kB / 1.223 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/1.212, allocations: 11.95 kB / 1.223 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/1.236, allocations: 12.92 MB / 1.236 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/1.236, allocations: 11.94 kB / 1.236 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/1.237, allocations: 228.5 kB / 1.236 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008504/1.246, allocations: 2.884 MB / 1.239 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003738/1.246, allocations: 48 kB / 1.239 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5817/1.828, allocations: 32.69 MB / 1.271 GB, free: 271.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-05/1.828, allocations: 13.38 kB / 1.271 GB, free: 271.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.842, allocations: 6.89 MB / 1.277 GB, free: 269 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.844, allocations: 0.7769 MB / 1.278 GB, free: 268.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009571/1.845, allocations: 53.78 kB / 1.278 GB, free: 268.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.847, allocations: 170.2 kB / 1.278 GB, free: 268.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009814/1.848, allocations: 253.7 kB / 1.278 GB, free: 268.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002886/1.849, allocations: 76 kB / 1.279 GB, free: 268.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002788/1.851, allocations: 1.529 MB / 1.28 GB, free: 268 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.851, allocations: 0 / 1.28 GB, free: 268 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004803/1.856, allocations: 1.369 MB / 1.281 GB, free: 267.8 MB / 1.014 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01296/1.869, allocations: 7.518 MB / 1.289 GB, free: 264.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.883, allocations: 8.37 MB / 1.297 GB, free: 261.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/1.883, allocations: 0 / 1.297 GB, free: 261.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.006777/1.89, allocations: 4.418 MB / 1.301 GB, free: 259.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00567/1.896, allocations: 1.108 MB / 1.302 GB, free: 258.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06516/1.961, allocations: 46.06 MB / 1.347 GB, free: 213.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00473/1.966, allocations: 3.639 MB / 1.351 GB, free: 210.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00214/1.968, allocations: 0.5595 MB / 1.351 GB, free: 209.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/1.97, allocations: 1.968 MB / 1.353 GB, free: 207.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.663e-06/1.97, allocations: 0 / 1.353 GB, free: 207.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2309/2.201, allocations: 113 MB / 1.464 GB, free: 95.94 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/2.201, allocations: 242.1 kB / 1.464 GB, free: 95.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.219/6.42, allocations: 4 kB / 1.464 GB, free: 95.68 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches