Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001216/0.001216, allocations: 193.6 kB / 16.13 MB, free: 6.645 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.333/2.333, allocations: 437 MB / 0.7099 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.618, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01582/0.6339, allocations: 14.7 MB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.647, allocations: 10.37 MB / 1.041 GB, free: 9.574 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.6482, allocations: 55.62 kB / 1.041 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003541/0.6518, allocations: 1.576 MB / 1.043 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.656, allocations: 1.602 MB / 1.044 GB, free: 6.344 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.6574, allocations: 0.6941 MB / 1.045 GB, free: 5.648 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003407/0.6609, allocations: 3.394 MB / 1.048 GB, free: 2.242 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.6625, allocations: 1.368 MB / 1.05 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.6642, allocations: 1.386 MB / 1.051 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.6655, allocations: 1.167 MB / 1.052 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.6656, allocations: 96 kB / 1.052 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.6671, allocations: 0.8851 MB / 1.053 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.6676, allocations: 0.549 MB / 1.054 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007605/0.6684, allocations: 0.8858 MB / 1.055 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.6706, allocations: 2.725 MB / 1.057 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.6706, allocations: 0 / 1.057 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6706, allocations: 0 / 1.057 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.436e-05/0.6707, allocations: 0 / 1.057 GB, free: 9.121 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003524/0.6742, allocations: 2.178 MB / 1.059 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6743, allocations: 8.031 kB / 1.059 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.6745, allocations: 190.4 kB / 1.06 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.6849, allocations: 2.108 MB / 1.062 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.6871, allocations: 1.217 MB / 1.063 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.6871, allocations: 86.62 kB / 1.063 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.6874, allocations: 119.9 kB / 1.063 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004856/0.6922, allocations: 2.686 MB / 1.066 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.6923, allocations: 11.84 kB / 1.066 GB, free: 252 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.6924, allocations: 47.98 kB / 1.066 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005754/0.693, allocations: 194.1 kB / 1.066 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00647/0.6995, allocations: 2.791 MB / 1.069 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.7123, allocations: 10.51 MB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005639/0.7179, allocations: 2.34 MB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/0.7207, allocations: 1.272 MB / 1.082 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.078e-05/0.7208, allocations: 9 kB / 1.082 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.7208, allocations: 43.56 kB / 1.082 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 2.264e-06/0.7208, allocations: 0 / 1.082 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.05446/0.7753, allocations: 16.48 MB / 1.098 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.7753, allocations: 68.72 kB / 1.099 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.7768, allocations: 1.176 MB / 1.1 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.777, allocations: 49.7 kB / 1.1 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000484/0.7775, allocations: 0.7435 MB / 1.1 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/0.778, allocations: 0.5121 MB / 1.101 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000548/0.7785, allocations: 291.4 kB / 1.101 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.7786, allocations: 305.1 kB / 1.102 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003166/0.7818, allocations: 1.51 MB / 1.103 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/0.7851, allocations: 1.784 MB / 1.105 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006375/0.7915, allocations: 3.365 MB / 1.108 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7915, allocations: 0 / 1.108 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01209/0.8036, allocations: 5.277 MB / 1.113 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.8036, allocations: 8 kB / 1.113 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.8037, allocations: 8 kB / 1.113 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/0.8103, allocations: 1.883 MB / 1.115 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.8121, allocations: 419.2 kB / 1.115 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/0.8371, allocations: 22.18 MB / 1.137 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.8395, allocations: 307.5 kB / 1.137 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.8397, allocations: 72.02 kB / 1.137 GB, free: 4.48 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007943/0.8405, allocations: 465.4 kB / 1.138 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.8408, allocations: 173.9 kB / 1.138 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.8532, allocations: 5.328 MB / 1.143 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.8532, allocations: 16 kB / 1.143 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-05/0.8532, allocations: 20 kB / 1.143 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.8532, allocations: 11.97 kB / 1.143 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.8685, allocations: 7.418 MB / 1.151 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.8686, allocations: 4 kB / 1.151 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.8701, allocations: 351.4 kB / 1.151 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005918/0.876, allocations: 1.702 MB / 1.153 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.8762, allocations: 47.97 kB / 1.153 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02505/0.9013, allocations: 21.35 MB / 1.173 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.9013, allocations: 4.031 kB / 1.173 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.9126, allocations: 4.897 MB / 1.178 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000997/0.9137, allocations: 490.8 kB / 1.179 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.9139, allocations: 32 kB / 1.179 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.9158, allocations: 319.5 kB / 1.179 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/0.9163, allocations: 153 kB / 1.179 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.9164, allocations: 51.97 kB / 1.179 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009848/0.9174, allocations: 0.7938 MB / 1.18 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9174, allocations: 0 / 1.18 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001928/0.9194, allocations: 0.6562 MB / 1.181 GB, free: 6.867 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01136/0.9307, allocations: 5.485 MB / 1.186 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01028/0.9411, allocations: 5.128 MB / 1.191 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9411, allocations: 0 / 1.191 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006386/0.9475, allocations: 3.363 MB / 1.194 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.9499, allocations: 0.5092 MB / 1.195 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04483/0.9947, allocations: 23.62 MB / 1.218 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.9959, allocations: 1.572 MB / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001568/0.9975, allocations: 390.4 kB / 1.22 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000847/0.9984, allocations: 0.6554 MB / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.9984, allocations: 0 / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.07/2.069, allocations: 56.57 MB / 1.276 GB, free: 212 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/2.069, allocations: 252.6 kB / 1.276 GB, free: 211.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.33/5.399, allocations: 4 kB / 1.276 GB, free: 211.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches