Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001764/0.001765, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002393/0.002392, allocations: 188.7 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.416/2.416, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.415/4.415, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 63.17 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3317, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0209/0.3527, allocations: 9.998 MB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008867/0.3616, allocations: 3.022 MB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.3629, allocations: 31.81 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.3662, allocations: 0.6294 MB / 1.066 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.3692, allocations: 0.6459 MB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.3719, allocations: 0.585 MB / 1.067 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003914/0.3758, allocations: 2.75 MB / 1.07 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005632/0.3815, allocations: 3.065 MB / 1.073 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.3838, allocations: 1.137 MB / 1.074 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00332/0.3872, allocations: 1.465 MB / 1.075 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007385/0.3879, allocations: 216 kB / 1.075 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.3896, allocations: 495.4 kB / 1.076 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.3911, allocations: 0.9824 MB / 1.077 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00239/0.3935, allocations: 1.015 MB / 1.078 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004709/0.3982, allocations: 3.408 MB / 1.081 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3983, allocations: 0 / 1.081 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3983, allocations: 0 / 1.081 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001216/0.3984, allocations: 0 / 1.081 GB, free: 11.14 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005761/0.4042, allocations: 1.944 MB / 1.083 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.4043, allocations: 12.62 kB / 1.083 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006776/0.4049, allocations: 256.7 kB / 1.083 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006441/0.4114, allocations: 0.8844 MB / 1.084 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.4143, allocations: 1.114 MB / 1.085 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.4145, allocations: 111.3 kB / 1.085 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006661/0.4152, allocations: 148.3 kB / 1.086 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009498/0.4247, allocations: 3.017 MB / 1.088 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.99e-05/0.4248, allocations: 0 / 1.088 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005201/0.4253, allocations: 67.97 kB / 1.089 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003645/0.4257, allocations: 175 kB / 1.089 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007495/0.4332, allocations: 2.612 MB / 1.091 GB, free: 0.5938 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02998/0.4633, allocations: 13.57 MB / 1.104 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.4669, allocations: 1.299 MB / 1.106 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.4695, allocations: 1.043 MB / 1.107 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.4696, allocations: 8.656 kB / 1.107 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.4697, allocations: 47.14 kB / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 4.709e-06/0.4697, allocations: 0 / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.09217/0.5619, allocations: 19.39 MB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.562, allocations: 64.72 kB / 1.126 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.5642, allocations: 0.9144 MB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003466/0.5646, allocations: 49.7 kB / 1.127 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000729/0.5653, allocations: 0.7321 MB / 1.127 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007812/0.5661, allocations: 488.9 kB / 1.128 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.5672, allocations: 291.4 kB / 1.128 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.5674, allocations: 353.9 kB / 1.129 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/0.5706, allocations: 1.343 MB / 1.13 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00362/0.5743, allocations: 1.659 MB / 1.131 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00706/0.5814, allocations: 3.08 MB / 1.135 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/0.5814, allocations: 4 kB / 1.135 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01933/0.6008, allocations: 5.638 MB / 1.14 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.6009, allocations: 20.03 kB / 1.14 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/0.6009, allocations: 8 kB / 1.14 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01482/0.6158, allocations: 2.73 MB / 1.143 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.6167, allocations: 191.7 kB / 1.143 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03835/0.6551, allocations: 25.72 MB / 1.168 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.6566, allocations: 91.95 kB / 1.168 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002764/0.6568, allocations: 56 kB / 1.168 GB, free: 15.67 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001265/0.6581, allocations: 0.7355 MB / 1.169 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.6585, allocations: 118.5 kB / 1.169 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.67, allocations: 5.396 MB / 1.174 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.67, allocations: 12 kB / 1.174 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.734e-05/0.6701, allocations: 20 kB / 1.174 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.6701, allocations: 7.969 kB / 1.174 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/0.6987, allocations: 8.648 MB / 1.183 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-05/0.6988, allocations: 4 kB / 1.183 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/0.6997, allocations: 119.8 kB / 1.183 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01416/0.7139, allocations: 2.564 MB / 1.185 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004027/0.7143, allocations: 28 kB / 1.185 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0376/0.752, allocations: 23.01 MB / 1.208 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.752, allocations: 4.188 kB / 1.208 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.763, allocations: 5.13 MB / 1.213 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.764, allocations: 475.5 kB / 1.213 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/0.7644, allocations: 31.98 kB / 1.213 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009412/0.7654, allocations: 76.28 kB / 1.213 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005347/0.7659, allocations: 129 kB / 1.214 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.766, allocations: 36 kB / 1.214 GB, free: 304 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008572/0.7669, allocations: 0.6395 MB / 1.214 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7669, allocations: 0 / 1.214 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002376/0.7693, allocations: 0.7266 MB / 1.215 GB, free: 14.93 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01151/0.7808, allocations: 5.714 MB / 1.22 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007437/0.7883, allocations: 4.727 MB / 1.225 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.7883, allocations: 0 / 1.225 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004517/0.7928, allocations: 2.654 MB / 1.228 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.7942, allocations: 221.5 kB / 1.228 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5535/1.348, allocations: 22.57 MB / 1.25 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002221/1.35, allocations: 1.695 MB / 1.252 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001344/1.351, allocations: 326.5 kB / 1.252 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007871/1.352, allocations: 0.534 MB / 1.252 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.352, allocations: 3.969 kB / 1.252 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.358/2.711, allocations: 51.79 MB / 1.303 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/2.711, allocations: 256.8 kB / 1.303 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/9.902, allocations: 1.875 kB / 1.303 GB, free: 154.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches