Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001334/0.001335, 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.001562/0.001561, allocations: 191.5 kB / 16.25 MB, free: 6.637 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.223/1.223, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.91 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5132, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01427/0.5275, allocations: 13.97 MB / 1.031 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.5398, allocations: 9.303 MB / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.541, allocations: 47.69 kB / 1.04 GB, free: 11.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003857/0.5449, allocations: 1.58 MB / 1.041 GB, free: 9.734 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.5485, allocations: 1.407 MB / 1.043 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.5501, allocations: 0.6939 MB / 1.043 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.5529, allocations: 2.512 MB / 1.046 GB, free: 5.113 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.5553, allocations: 1.582 MB / 1.047 GB, free: 3.5 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.5575, allocations: 1.063 MB / 1.048 GB, free: 2.434 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.5595, allocations: 1.175 MB / 1.049 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.5599, allocations: 168 kB / 1.05 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.5615, allocations: 0.7838 MB / 1.05 GB, free: 312 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007466/0.5623, allocations: 0.6193 MB / 1.051 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.5636, allocations: 0.9445 MB / 1.052 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.5662, allocations: 2.772 MB / 1.055 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5662, allocations: 0 / 1.055 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5662, allocations: 0 / 1.055 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.5662, allocations: 4 kB / 1.055 GB, free: 11.95 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.003237/0.5695, allocations: 2.147 MB / 1.057 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5695, allocations: 12.03 kB / 1.057 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/0.5697, allocations: 194.4 kB / 1.057 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.5802, allocations: 2.085 MB / 1.059 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.5821, allocations: 1.197 MB / 1.06 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.5822, allocations: 90.73 kB / 1.06 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.5824, allocations: 119.9 kB / 1.06 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/0.5873, allocations: 2.683 MB / 1.063 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.5874, allocations: 15.84 kB / 1.063 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.5875, allocations: 51.98 kB / 1.063 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005503/0.5881, allocations: 178.1 kB / 1.063 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00665/0.5948, allocations: 2.795 MB / 1.066 GB, free: 108 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.6069, allocations: 10.51 MB / 1.076 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006062/0.613, allocations: 2.517 MB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/0.6158, allocations: 1.295 MB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.749e-05/0.6159, allocations: 9 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.6159, allocations: 43.56 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=89): time 2.955e-06/0.6159, allocations: 0 / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.04219/0.6581, allocations: 13.36 MB / 1.093 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.6582, allocations: 64.72 kB / 1.093 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.6597, allocations: 1.121 MB / 1.094 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.6599, allocations: 45.7 kB / 1.094 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/0.6603, allocations: 0.7194 MB / 1.095 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.6608, allocations: 457.4 kB / 1.095 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005026/0.6613, allocations: 259.5 kB / 1.096 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6614, allocations: 361.9 kB / 1.096 GB, free: 440 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/0.6644, allocations: 1.339 MB / 1.097 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.6676, allocations: 1.604 MB / 1.099 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006259/0.6739, allocations: 2.994 MB / 1.102 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6739, allocations: 4 kB / 1.102 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01067/0.6846, allocations: 4.442 MB / 1.106 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6846, allocations: 14.22 kB / 1.106 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.6846, allocations: 8 kB / 1.106 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004998/0.6896, allocations: 1.443 MB / 1.108 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.6916, allocations: 439.2 kB / 1.108 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/0.7162, allocations: 26.69 MB / 1.134 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.7187, allocations: 311.5 kB / 1.134 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.7189, allocations: 59.97 kB / 1.134 GB, free: 6.98 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008323/0.7198, allocations: 441.4 kB / 1.135 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.7201, allocations: 162 kB / 1.135 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.731, allocations: 4.453 MB / 1.139 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.731, allocations: 12 kB / 1.139 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.799e-05/0.7311, allocations: 12 kB / 1.139 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.7311, allocations: 7.969 kB / 1.139 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.7458, allocations: 6.767 MB / 1.146 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.7458, allocations: 4 kB / 1.146 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/0.7475, allocations: 383.2 kB / 1.146 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0045/0.752, allocations: 1.318 MB / 1.148 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.7521, allocations: 43.97 kB / 1.148 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02266/0.7748, allocations: 25.5 MB / 1.173 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7748, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009997/0.7848, allocations: 4.2 MB / 1.177 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007847/0.7856, allocations: 462.9 kB / 1.177 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.786, allocations: 24 kB / 1.177 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.7879, allocations: 315.5 kB / 1.177 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/0.7883, allocations: 124.6 kB / 1.178 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.7884, allocations: 55.97 kB / 1.178 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009388/0.7894, allocations: 0.7487 MB / 1.178 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7894, allocations: 0 / 1.178 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001807/0.7912, allocations: 0.5703 MB / 1.179 GB, free: 7.195 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01002/0.8012, allocations: 4.799 MB / 1.184 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01082/0.8121, allocations: 5.505 MB / 1.189 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8121, allocations: 0 / 1.189 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006209/0.8183, allocations: 3.488 MB / 1.192 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.8206, allocations: 0.5631 MB / 1.193 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03925/0.8599, allocations: 20.91 MB / 1.213 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.861, allocations: 1.481 MB / 1.215 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001683/0.8627, allocations: 421.6 kB / 1.215 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008169/0.8636, allocations: 0.6281 MB / 1.216 GB, free: 260 kB / 0.9669 GB Notification: Performance of SimCode: time 4.2e-07/0.8636, allocations: 0 / 1.216 GB, free: 260 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.951/5.814, allocations: 51.44 MB / 1.266 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/5.815, allocations: 244.6 kB / 1.266 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.465/10.28, allocations: 3.375 kB / 1.266 GB, free: 216.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches