Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_10_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_10_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.0009532/0.0009533, allocations: 97.41 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.00848/0.00848, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.435/2.435, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 12 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6562, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02249/0.6787, allocations: 22.58 MB / 1.045 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.6892, allocations: 6.442 MB / 1.051 GB, free: 2.773 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.6913, allocations: 75.56 kB / 1.052 GB, free: 2.699 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.6929, allocations: 472.5 kB / 1.052 GB, free: 2.234 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.6973, allocations: 1.743 MB / 1.054 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.7002, allocations: 1.201 MB / 1.055 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009613/0.7099, allocations: 10.62 MB / 1.065 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01144/0.7213, allocations: 8.044 MB / 1.073 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.7248, allocations: 2.077 MB / 1.075 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00462/0.7294, allocations: 3.181 MB / 1.078 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0009683/0.7304, allocations: 244 kB / 1.078 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.7341, allocations: 1.068 MB / 1.08 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00307/0.7372, allocations: 2.112 MB / 1.082 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003872/0.7411, allocations: 2.128 MB / 1.084 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.008255/0.7494, allocations: 8.132 MB / 1.092 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7494, allocations: 0 / 1.092 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7494, allocations: 0 / 1.092 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001543/0.7495, allocations: 0 / 1.092 GB, free: 9.516 MB / 0.8419 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.006135/0.7557, allocations: 3.562 MB / 1.095 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.7557, allocations: 12.03 kB / 1.095 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007558/0.7565, allocations: 0.5753 MB / 1.096 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007858/0.7644, allocations: 1.681 MB / 1.097 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/0.7685, allocations: 2.575 MB / 1.1 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.7687, allocations: 275.7 kB / 1.1 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007165/0.7694, allocations: 364.2 kB / 1.1 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.7799, allocations: 7.487 MB / 1.108 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-05/0.78, allocations: 11.88 kB / 1.108 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004159/0.7805, allocations: 163.9 kB / 1.108 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005395/0.781, allocations: 483.3 kB / 1.108 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00845/0.7895, allocations: 5.701 MB / 1.114 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03422/0.8237, allocations: 31.7 MB / 1.145 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.8267, allocations: 2.09 MB / 1.147 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003008/0.8297, allocations: 2.167 MB / 1.149 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.83, allocations: 17.31 kB / 1.149 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.83, allocations: 47.88 kB / 1.149 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.046e-06/0.83, allocations: 0 / 1.149 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.2988/1.129, allocations: 75.28 MB / 1.223 GB, free: 16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/1.129, allocations: 81.39 kB / 1.223 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/1.132, allocations: 1.67 MB / 1.224 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.00036/1.132, allocations: 61.7 kB / 1.224 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/1.133, allocations: 1.751 MB / 1.226 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000891/1.134, allocations: 0.8549 MB / 1.227 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/1.134, allocations: 207 kB / 1.227 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/1.135, allocations: 305.1 kB / 1.227 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/1.138, allocations: 2.726 MB / 1.23 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004176/1.143, allocations: 3.332 MB / 1.233 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008312/1.151, allocations: 6.389 MB / 1.24 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-05/1.151, allocations: 12 kB / 1.24 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.5027/1.654, allocations: 14.66 MB / 1.254 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.654, allocations: 18.91 kB / 1.254 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/1.654, allocations: 17.62 kB / 1.254 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03124/1.685, allocations: 9.246 MB / 1.263 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.686, allocations: 301 kB / 1.263 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06368/1.75, allocations: 47.15 MB / 1.309 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/1.753, allocations: 223.7 kB / 1.31 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/1.753, allocations: 99.98 kB / 1.31 GB, free: 183.6 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 {(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.002182/1.755, allocations: 1.587 MB / 1.311 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/1.756, allocations: 241.1 kB / 1.311 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02818/1.784, allocations: 14.76 MB / 1.326 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/1.784, allocations: 24 kB / 1.326 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001158/1.784, allocations: 44 kB / 1.326 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-05/1.784, allocations: 15.89 kB / 1.326 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03419/1.818, allocations: 20.52 MB / 1.346 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/1.819, allocations: 4 kB / 1.346 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/1.819, allocations: 163.8 kB / 1.346 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02623/1.845, allocations: 9.005 MB / 1.355 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004673/1.846, allocations: 48.66 kB / 1.355 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05907/1.905, allocations: 46.74 MB / 1.401 GB, free: 89.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.905, allocations: 11.88 kB / 1.401 GB, free: 89.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.027/1.932, allocations: 14.37 MB / 1.415 GB, free: 74.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.934, allocations: 0.847 MB / 1.415 GB, free: 74.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004371/1.934, allocations: 55.92 kB / 1.416 GB, free: 73.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.936, allocations: 203.7 kB / 1.416 GB, free: 73.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/1.938, allocations: 249 kB / 1.416 GB, free: 73.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.938, allocations: 60 kB / 1.416 GB, free: 73.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001234/1.939, allocations: 1.129 MB / 1.417 GB, free: 72.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.939, allocations: 0 / 1.417 GB, free: 72.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004064/1.943, allocations: 1.613 MB / 1.419 GB, free: 70.72 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 {(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.02695/1.97, allocations: 14.98 MB / 1.433 GB, free: 55.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01954/1.99, allocations: 10.35 MB / 1.443 GB, free: 45.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.99, allocations: 0 / 1.443 GB, free: 45.17 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01516/2.005, allocations: 7.156 MB / 1.45 GB, free: 37.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/2.009, allocations: 0.5252 MB / 1.451 GB, free: 37.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08666/2.096, allocations: 55.12 MB / 1.505 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00329/2.099, allocations: 3.231 MB / 1.508 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001082/2.1, allocations: 387.3 kB / 1.508 GB, free: 8.453 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/2.102, allocations: 1.46 MB / 1.51 GB, free: 6.992 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/2.102, allocations: 0 / 1.51 GB, free: 6.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/2.257, allocations: 113.3 MB / 1.62 GB, free: 6.191 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/2.258, allocations: 260.3 kB / 1.621 GB, free: 5.934 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.213/5.47, allocations: 2.344 kB / 1.621 GB, free: 5.934 MB / 1.139 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches