Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.0007849/0.0007849, allocations: 91.3 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.004968/0.004969, allocations: 169.2 kB / 16.26 MB, free: 6.68 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 443.4 MB / 0.7176 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003694, allocations: 12.12 kB / 0.8797 GB, free: 41.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.27, allocations: 155.2 MB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02143/0.2915, allocations: 21.79 MB / 1.053 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009791/0.3013, allocations: 6.19 MB / 1.059 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.3028, allocations: 79.5 kB / 1.059 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.3038, allocations: 436.7 kB / 1.059 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.307, allocations: 1.549 MB / 1.061 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.3094, allocations: 1.095 MB / 1.062 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008794/0.3182, allocations: 8.856 MB / 1.07 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.3283, allocations: 7.176 MB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.3312, allocations: 1.77 MB / 1.079 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.3344, allocations: 2.605 MB / 1.082 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.3347, allocations: 204 kB / 1.082 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.3365, allocations: 1.018 MB / 1.083 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.338, allocations: 1.723 MB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.3397, allocations: 1.821 MB / 1.086 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005952/0.3456, allocations: 6.966 MB / 1.093 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3457, allocations: 4 kB / 1.093 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.847e-06/0.3457, allocations: 3.984 kB / 1.093 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001053/0.3458, allocations: 0 / 1.093 GB, free: 4.672 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.005063/0.3508, allocations: 3.076 MB / 1.096 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3509, allocations: 8.031 kB / 1.096 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006312/0.3515, allocations: 0.4937 MB / 1.097 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005831/0.3574, allocations: 1.214 MB / 1.098 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/0.3608, allocations: 2.223 MB / 1.1 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.3609, allocations: 242.4 kB / 1.1 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000524/0.3615, allocations: 315.8 kB / 1.1 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00898/0.3705, allocations: 6.22 MB / 1.106 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.555e-05/0.3706, allocations: 11.88 kB / 1.107 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003504/0.3709, allocations: 143.9 kB / 1.107 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004508/0.3714, allocations: 406.3 kB / 1.107 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007169/0.3786, allocations: 4.658 MB / 1.112 GB, free: 1.285 MB / 0.8575 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.02823/0.4068, allocations: 29.07 MB / 1.14 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.4087, allocations: 1.424 MB / 1.141 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.4104, allocations: 1.487 MB / 1.143 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.086e-05/0.4105, allocations: 13 kB / 1.143 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.4106, allocations: 47.5 kB / 1.143 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=110): time 2.805e-06/0.4106, allocations: 0 / 1.143 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=179): time 0.1442/0.5548, allocations: 36.31 MB / 1.178 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.5549, allocations: 73.34 kB / 1.178 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.5569, allocations: 1.423 MB / 1.18 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.5571, allocations: 57.64 kB / 1.18 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009314/0.5581, allocations: 1.535 MB / 1.181 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006043/0.5587, allocations: 0.6123 MB / 1.182 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.559, allocations: 161.7 kB / 1.182 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.5591, allocations: 301.1 kB / 1.182 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/0.5617, allocations: 1.788 MB / 1.184 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.5646, allocations: 2.35 MB / 1.186 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005556/0.5702, allocations: 4.387 MB / 1.191 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.5702, allocations: 8 kB / 1.191 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01807/0.5883, allocations: 8.56 MB / 1.199 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.5884, allocations: 16.06 kB / 1.199 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/0.5884, allocations: 20 kB / 1.199 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/0.6036, allocations: 4.632 MB / 1.204 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.6049, allocations: 307.5 kB / 1.204 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04346/0.6484, allocations: 29.49 MB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.6505, allocations: 147.8 kB / 1.233 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/0.6508, allocations: 87.98 kB / 1.233 GB, free: 0.7461 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 (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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002225/0.6531, allocations: 1.334 MB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004739/0.6535, allocations: 201.6 kB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/0.6719, allocations: 8.437 MB / 1.243 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.672, allocations: 23.94 kB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001198/0.6722, allocations: 28 kB / 1.243 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/0.6722, allocations: 7.969 kB / 1.243 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4619/1.134, allocations: 12.84 MB / 1.255 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/1.134, allocations: 6.344 kB / 1.255 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/1.135, allocations: 162.7 kB / 1.255 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/1.15, allocations: 4.485 MB / 1.26 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002373/1.151, allocations: 40.67 kB / 1.26 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03855/1.189, allocations: 29.1 MB / 1.288 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.189, allocations: 15.16 kB / 1.288 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.204, allocations: 8.234 MB / 1.296 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.205, allocations: 0.617 MB / 1.297 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/1.205, allocations: 43.42 kB / 1.297 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.207, allocations: 129.5 kB / 1.297 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007334/1.207, allocations: 175.1 kB / 1.297 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/1.208, allocations: 55.03 kB / 1.297 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009917/1.209, allocations: 0.9561 MB / 1.298 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.209, allocations: 0 / 1.298 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002608/1.211, allocations: 1.116 MB / 1.299 GB, free: 180.8 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01446/1.226, allocations: 8.836 MB / 1.308 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.236, allocations: 6.424 MB / 1.314 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.236, allocations: 4 kB / 1.314 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008176/1.244, allocations: 4.294 MB / 1.318 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003737/1.248, allocations: 0.4928 MB / 1.319 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05092/1.299, allocations: 36.71 MB / 1.355 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002055/1.301, allocations: 2.729 MB / 1.357 GB, free: 121.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001008/1.302, allocations: 393.2 kB / 1.358 GB, free: 121 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009751/1.303, allocations: 1.214 MB / 1.359 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.303, allocations: 3.938 kB / 1.359 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09021/1.393, allocations: 78.73 MB / 1.436 GB, free: 41.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/1.394, allocations: 256.7 kB / 1.436 GB, free: 41.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/4.143, allocations: 0 / 1.436 GB, free: 41.31 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches