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.004826/0.004826, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001392/0.001392, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.386/2.386, allocations: 437.1 MB / 0.7105 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 71.83 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2441, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01531/0.2595, allocations: 14.05 MB / 1.18 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.2719, allocations: 9.396 MB / 1.189 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006656/0.2726, allocations: 59.62 kB / 1.189 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.2763, allocations: 1.665 MB / 1.191 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.2793, allocations: 1.537 MB / 1.192 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.2808, allocations: 0.7554 MB / 1.193 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.2832, allocations: 2.516 MB / 1.195 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.2848, allocations: 1.418 MB / 1.197 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.2859, allocations: 1.047 MB / 1.198 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.2872, allocations: 1.144 MB / 1.199 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.2874, allocations: 164 kB / 1.199 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.2887, allocations: 0.7916 MB / 1.2 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005329/0.2892, allocations: 0.6115 MB / 1.201 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008364/0.2901, allocations: 0.9445 MB / 1.201 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.2926, allocations: 2.767 MB / 1.204 GB, free: 236 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2927, allocations: 0 / 1.204 GB, free: 236 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2927, allocations: 0 / 1.204 GB, free: 236 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.2927, allocations: 0 / 1.204 GB, free: 236 kB / 0.9512 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.003643/0.2963, allocations: 2.192 MB / 1.206 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2964, allocations: 12.03 kB / 1.206 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.2966, allocations: 190.4 kB / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.3073, allocations: 2.094 MB / 1.209 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.3094, allocations: 1.307 MB / 1.21 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.3095, allocations: 94.72 kB / 1.21 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.3097, allocations: 119.9 kB / 1.21 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005329/0.3151, allocations: 2.675 MB / 1.213 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.3151, allocations: 7.938 kB / 1.213 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.3153, allocations: 55.98 kB / 1.213 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000592/0.3159, allocations: 182.1 kB / 1.213 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007288/0.3232, allocations: 2.795 MB / 1.216 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/0.3363, allocations: 10.49 MB / 1.226 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006646/0.343, allocations: 2.529 MB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/0.3461, allocations: 1.284 MB / 1.23 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-05/0.3461, allocations: 12.94 kB / 1.23 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3462, allocations: 43.56 kB / 1.23 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=89): time 2.044e-06/0.3462, allocations: 4 kB / 1.23 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=131): time 0.04301/0.3892, allocations: 13.38 MB / 1.243 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3893, allocations: 68.66 kB / 1.243 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.3905, allocations: 1.113 MB / 1.244 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3906, allocations: 49.7 kB / 1.244 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/0.3912, allocations: 0.7248 MB / 1.245 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/0.3916, allocations: 479.8 kB / 1.245 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004831/0.3921, allocations: 263.5 kB / 1.245 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3922, allocations: 365.9 kB / 1.246 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/0.3955, allocations: 1.343 MB / 1.247 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003416/0.3989, allocations: 1.6 MB / 1.249 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4228/0.8217, allocations: 2.984 MB / 1.251 GB, free: 77.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.8217, allocations: 6.094 kB / 1.251 GB, free: 77.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01091/0.8326, allocations: 4.448 MB / 1.256 GB, free: 76.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.8327, allocations: 11.97 kB / 1.256 GB, free: 76.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.8327, allocations: 6.906 kB / 1.256 GB, free: 76.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004827/0.8375, allocations: 1.43 MB / 1.257 GB, free: 76.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.8395, allocations: 439.4 kB / 1.258 GB, free: 76.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/0.8599, allocations: 26.7 MB / 1.284 GB, free: 54.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.8622, allocations: 304.1 kB / 1.284 GB, free: 54.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.8624, allocations: 63.73 kB / 1.284 GB, free: 54.12 MB / 0.9981 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.0006457/0.863, allocations: 440.8 kB / 1.284 GB, free: 53.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.8633, allocations: 171.6 kB / 1.285 GB, free: 53.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/0.8736, allocations: 4.463 MB / 1.289 GB, free: 52.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.8736, allocations: 11.97 kB / 1.289 GB, free: 52.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.8736, allocations: 13.56 kB / 1.289 GB, free: 52.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.8736, allocations: 6.375 kB / 1.289 GB, free: 52.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.8866, allocations: 6.765 MB / 1.296 GB, free: 49.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.8867, allocations: 2.906 kB / 1.296 GB, free: 49.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.8884, allocations: 384.2 kB / 1.296 GB, free: 49.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004129/0.8925, allocations: 1.304 MB / 1.297 GB, free: 49.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.8926, allocations: 50.88 kB / 1.297 GB, free: 49.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/0.9101, allocations: 25.51 MB / 1.322 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.9102, allocations: 6.344 kB / 1.322 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009143/0.9193, allocations: 4.207 MB / 1.326 GB, free: 26.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/0.9199, allocations: 465.9 kB / 1.327 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.9201, allocations: 31.41 kB / 1.327 GB, free: 26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.922, allocations: 302.2 kB / 1.327 GB, free: 25.99 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/0.9224, allocations: 135.2 kB / 1.327 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.9225, allocations: 47.72 kB / 1.327 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000807/0.9233, allocations: 0.7557 MB / 1.328 GB, free: 25.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9233, allocations: 0 / 1.328 GB, free: 25.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001628/0.9249, allocations: 0.5676 MB / 1.329 GB, free: 25.54 MB / 0.9981 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.009077/0.934, allocations: 4.791 MB / 1.333 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009064/0.9431, allocations: 5.153 MB / 1.338 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.9431, allocations: 1.312 kB / 1.338 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005305/0.9484, allocations: 3.504 MB / 1.342 GB, free: 16.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.9504, allocations: 0.5544 MB / 1.342 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/0.981, allocations: 19.41 MB / 1.361 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/0.9819, allocations: 1.481 MB / 1.363 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001312/0.9832, allocations: 425.5 kB / 1.363 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000836/0.9841, allocations: 0.6281 MB / 1.364 GB, free: 14.49 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.9841, allocations: 0 / 1.364 GB, free: 14.49 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.04/4.024, allocations: 51.68 MB / 1.414 GB, free: 11.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/23.11, allocations: 13.41 kB / 1.414 GB, free: 11.45 MB / 1.061 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=400 --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