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.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.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.006378/0.006378, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.001672/0.001672, allocations: 192.3 kB / 16.67 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.304/2.304, allocations: 437.1 MB / 0.7106 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 63.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6372, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01725/0.6545, allocations: 14.79 MB / 1.181 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.6692, allocations: 10.35 MB / 1.191 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008526/0.6701, allocations: 59.62 kB / 1.191 GB, free: 10.47 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003758/0.6739, allocations: 1.679 MB / 1.192 GB, free: 8.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.6778, allocations: 1.815 MB / 1.194 GB, free: 6.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.6793, allocations: 0.7666 MB / 1.195 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002932/0.6823, allocations: 2.731 MB / 1.198 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.6839, allocations: 1.423 MB / 1.199 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.6856, allocations: 1.508 MB / 1.2 GB, free: 0.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.6871, allocations: 1.164 MB / 1.202 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.6873, allocations: 164 kB / 1.202 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.6886, allocations: 0.7877 MB / 1.203 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005476/0.6891, allocations: 0.6076 MB / 1.203 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009147/0.6901, allocations: 0.9483 MB / 1.204 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.6928, allocations: 2.771 MB / 1.207 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6928, allocations: 0 / 1.207 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6928, allocations: 0 / 1.207 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.6928, allocations: 3.938 kB / 1.207 GB, free: 10.04 MB / 0.9356 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.003523/0.6964, allocations: 2.23 MB / 1.209 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.6964, allocations: 12.92 kB / 1.209 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002226/0.6966, allocations: 194.4 kB / 1.209 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.7078, allocations: 2.121 MB / 1.211 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.7101, allocations: 1.316 MB / 1.213 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/0.7102, allocations: 86.69 kB / 1.213 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.7104, allocations: 115.9 kB / 1.213 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005581/0.716, allocations: 2.667 MB / 1.215 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.7161, allocations: 11.89 kB / 1.215 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.7163, allocations: 59.97 kB / 1.215 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006212/0.7169, allocations: 194.1 kB / 1.216 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007563/0.7245, allocations: 2.791 MB / 1.218 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/0.7385, allocations: 10.47 MB / 1.229 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006614/0.7451, allocations: 2.344 MB / 1.231 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/0.7482, allocations: 1.28 MB / 1.232 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.7483, allocations: 16.98 kB / 1.232 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.7483, allocations: 43.56 kB / 1.232 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=89): time 2.314e-06/0.7483, allocations: 0 / 1.232 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153): time 0.05835/0.8067, allocations: 16.51 MB / 1.248 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.8067, allocations: 68.72 kB / 1.248 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.8082, allocations: 1.176 MB / 1.249 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.8084, allocations: 53.7 kB / 1.249 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/0.809, allocations: 0.7529 MB / 1.25 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004766/0.8094, allocations: 0.5383 MB / 1.251 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005683/0.81, allocations: 287.5 kB / 1.251 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8101, allocations: 305.1 kB / 1.251 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/0.8137, allocations: 1.51 MB / 1.253 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003778/0.8175, allocations: 1.78 MB / 1.255 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007421/0.8249, allocations: 3.373 MB / 1.258 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.8249, allocations: 4 kB / 1.258 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01346/0.8384, allocations: 5.278 MB / 1.263 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.8384, allocations: 12 kB / 1.263 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.8384, allocations: 8 kB / 1.263 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006549/0.845, allocations: 1.88 MB / 1.265 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.8469, allocations: 419.2 kB / 1.265 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0305/0.8774, allocations: 24.15 MB / 1.289 GB, free: 3.527 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.8798, allocations: 307.6 kB / 1.289 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.88, allocations: 75.84 kB / 1.289 GB, free: 3.152 MB / 1.014 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.0007932/0.8808, allocations: 466 kB / 1.29 GB, free: 2.688 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.8811, allocations: 182.9 kB / 1.29 GB, free: 2.508 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.8947, allocations: 5.328 MB / 1.295 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.8948, allocations: 16 kB / 1.295 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/0.8948, allocations: 20 kB / 1.295 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.8948, allocations: 7.969 kB / 1.295 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.9112, allocations: 7.411 MB / 1.302 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.9112, allocations: 4 kB / 1.302 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.9128, allocations: 351.4 kB / 1.303 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00578/0.9186, allocations: 1.714 MB / 1.304 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.9188, allocations: 43.91 kB / 1.304 GB, free: 3.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02825/0.947, allocations: 23.33 MB / 1.327 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.9471, allocations: 4 kB / 1.327 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.9592, allocations: 4.896 MB / 1.332 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007774/0.96, allocations: 0.4957 MB / 1.332 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.9602, allocations: 32 kB / 1.332 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.9623, allocations: 323.5 kB / 1.333 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/0.9627, allocations: 148.9 kB / 1.333 GB, free: 4.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.9628, allocations: 59.95 kB / 1.333 GB, free: 4.926 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001021/0.9638, allocations: 0.7899 MB / 1.334 GB, free: 4.137 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9638, allocations: 0 / 1.334 GB, free: 4.137 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001669/0.9655, allocations: 0.6523 MB / 1.334 GB, free: 3.484 MB / 1.061 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.01236/0.9779, allocations: 5.489 MB / 1.34 GB, free: 13.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01105/0.9889, allocations: 5.159 MB / 1.345 GB, free: 8.641 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.989, allocations: 0 / 1.345 GB, free: 8.641 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006788/0.9957, allocations: 3.362 MB / 1.348 GB, free: 5.172 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.9978, allocations: 0.5576 MB / 1.349 GB, free: 4.633 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04447/1.042, allocations: 21.91 MB / 1.37 GB, free: 14.23 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.044, allocations: 1.568 MB / 1.372 GB, free: 12.62 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00121/1.045, allocations: 386.4 kB / 1.372 GB, free: 12.24 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008849/1.046, allocations: 0.6554 MB / 1.373 GB, free: 11.59 MB / 1.107 GB Notification: Performance of SimCode: time 4.81e-07/1.046, allocations: 0 / 1.373 GB, free: 11.59 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.709/2.755, allocations: 58.76 MB / 1.43 GB, free: 1.43 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.87/27.63, allocations: 1.562 kB / 1.43 GB, free: 1.43 MB / 1.154 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=400 --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