Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.006915/0.006915, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001608/0.001608, allocations: 187 kB / 16.67 MB, free: 5.883 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.217/2.217, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.44 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2399, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02215/0.2621, allocations: 23.42 MB / 1.11 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009985/0.2721, allocations: 6.476 MB / 1.117 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.2739, allocations: 103.5 kB / 1.117 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.2776, allocations: 1.492 MB / 1.118 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.2815, allocations: 1.824 MB / 1.12 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.2844, allocations: 1.461 MB / 1.121 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006161/0.2906, allocations: 6.904 MB / 1.128 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006892/0.2975, allocations: 6.944 MB / 1.135 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/0.3011, allocations: 2.843 MB / 1.138 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00405/0.3052, allocations: 3.482 MB / 1.141 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000666/0.3059, allocations: 0.5273 MB / 1.142 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.3079, allocations: 1.17 MB / 1.143 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001932/0.3098, allocations: 2.464 MB / 1.145 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.3126, allocations: 2.536 MB / 1.148 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007408/0.32, allocations: 8.515 MB / 1.156 GB, free: 11.53 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3201, allocations: 0 / 1.156 GB, free: 11.53 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3201, allocations: 0 / 1.156 GB, free: 11.53 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001389/0.3202, allocations: 4 kB / 1.156 GB, free: 11.53 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007009/0.3272, allocations: 4.431 MB / 1.16 GB, free: 7.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3273, allocations: 12.03 kB / 1.16 GB, free: 7.016 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000657/0.3279, allocations: 0.5714 MB / 1.161 GB, free: 6.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008065/0.336, allocations: 1.681 MB / 1.163 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006229/0.3423, allocations: 2.688 MB / 1.165 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.3425, allocations: 279.7 kB / 1.165 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008095/0.3433, allocations: 364.2 kB / 1.166 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.3537, allocations: 7.483 MB / 1.173 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-05/0.3538, allocations: 19.86 kB / 1.173 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/0.3542, allocations: 163.9 kB / 1.173 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00052/0.3547, allocations: 483.4 kB / 1.174 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00838/0.3631, allocations: 5.697 MB / 1.179 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/0.3925, allocations: 31.5 MB / 1.21 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.3949, allocations: 2.09 MB / 1.212 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.3974, allocations: 2.178 MB / 1.214 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.3976, allocations: 21.3 kB / 1.214 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3976, allocations: 51.81 kB / 1.214 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.546e-06/0.3976, allocations: 0 / 1.214 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=251): time 0.7824/1.18, allocations: 77.02 MB / 1.29 GB, free: 153.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.18, allocations: 77.16 kB / 1.29 GB, free: 153.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/1.182, allocations: 1.672 MB / 1.291 GB, free: 152.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/1.182, allocations: 69.95 kB / 1.291 GB, free: 152.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006958/1.183, allocations: 1.741 MB / 1.293 GB, free: 150.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005749/1.184, allocations: 0.8582 MB / 1.294 GB, free: 150.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008543/1.184, allocations: 482.3 kB / 1.294 GB, free: 150 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.61e-05/1.184, allocations: 302.4 kB / 1.295 GB, free: 149.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/1.187, allocations: 2.735 MB / 1.297 GB, free: 148.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/1.19, allocations: 3.327 MB / 1.3 GB, free: 146 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006101/1.196, allocations: 6.401 MB / 1.307 GB, free: 142.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/1.196, allocations: 11.56 kB / 1.307 GB, free: 142.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02597/1.222, allocations: 14.68 MB / 1.321 GB, free: 128.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.222, allocations: 12 kB / 1.321 GB, free: 128.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.222, allocations: 16 kB / 1.321 GB, free: 128.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02432/1.247, allocations: 9.237 MB / 1.33 GB, free: 119 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009847/1.248, allocations: 303.5 kB / 1.33 GB, free: 118.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06007/1.308, allocations: 52.34 MB / 1.382 GB, free: 65.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/1.311, allocations: 223.7 kB / 1.382 GB, free: 65.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/1.311, allocations: 96 kB / 1.382 GB, free: 65.28 MB / 1.014 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002013/1.313, allocations: 1.587 MB / 1.383 GB, free: 63.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/1.313, allocations: 245.1 kB / 1.384 GB, free: 63.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02651/1.34, allocations: 14.75 MB / 1.398 GB, free: 48.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.34, allocations: 24 kB / 1.398 GB, free: 48.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.105e-05/1.34, allocations: 44 kB / 1.398 GB, free: 48.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/1.34, allocations: 11.95 kB / 1.398 GB, free: 48.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03319/1.373, allocations: 20.53 MB / 1.418 GB, free: 27.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/1.373, allocations: 7.938 kB / 1.418 GB, free: 27.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/1.374, allocations: 159.8 kB / 1.418 GB, free: 27.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02457/1.398, allocations: 9.012 MB / 1.427 GB, free: 18.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003365/1.399, allocations: 48 kB / 1.427 GB, free: 18.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06775/1.466, allocations: 51.9 MB / 1.478 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.466, allocations: 11.94 kB / 1.478 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02904/1.496, allocations: 14.36 MB / 1.492 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.498, allocations: 0.8454 MB / 1.493 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003722/1.498, allocations: 50.98 kB / 1.493 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.5, allocations: 211.6 kB / 1.493 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001142/1.501, allocations: 253.2 kB / 1.493 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/1.501, allocations: 72 kB / 1.493 GB, free: 13.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001366/1.503, allocations: 1.121 MB / 1.494 GB, free: 12.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.503, allocations: 0 / 1.494 GB, free: 12.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003942/1.507, allocations: 1.613 MB / 1.496 GB, free: 11.19 MB / 1.076 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02896/1.536, allocations: 14.98 MB / 1.511 GB, free: 12.05 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.021/1.557, allocations: 10.57 MB / 1.521 GB, free: 1.441 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.557, allocations: 0 / 1.521 GB, free: 1.441 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.01646/1.573, allocations: 7.296 MB / 1.528 GB, free: 10.08 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.576, allocations: 0.5499 MB / 1.529 GB, free: 9.551 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08528/1.661, allocations: 50.83 MB / 1.578 GB, free: 5.688 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/1.664, allocations: 3.222 MB / 1.581 GB, free: 2.43 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009148/1.665, allocations: 391.3 kB / 1.582 GB, free: 2.043 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.666, allocations: 1.464 MB / 1.583 GB, free: 0.582 MB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/1.666, allocations: 0 / 1.583 GB, free: 0.582 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.03/2.696, allocations: 120.8 MB / 1.701 GB, free: 8.191 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/20.66, allocations: 3.938 kB / 1.701 GB, free: 8.188 MB / 1.279 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches