Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_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.006877/0.006877, allocations: 98.86 kB / 15.73 MB, free: 5.988 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.001856/0.001856, allocations: 195.2 kB / 16.68 MB, free: 5.91 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9613/0.9636, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01541/0.979, allocations: 14.04 MB / 1.101 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.9935, allocations: 9.394 MB / 1.11 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.9953, allocations: 54.28 kB / 1.11 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.9998, allocations: 1.678 MB / 1.112 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005224/1.005, allocations: 1.544 MB / 1.114 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/1.007, allocations: 0.751 MB / 1.114 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003984/1.011, allocations: 2.522 MB / 1.117 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/1.014, allocations: 1.41 MB / 1.118 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/1.016, allocations: 1.077 MB / 1.119 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/1.018, allocations: 1.142 MB / 1.12 GB, free: 152 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006956/1.019, allocations: 168.6 kB / 1.12 GB, free: 148 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/1.021, allocations: 0.794 MB / 1.121 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/1.022, allocations: 0.6127 MB / 1.122 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/1.023, allocations: 0.9463 MB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003951/1.027, allocations: 2.749 MB / 1.125 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.027, allocations: 0.7969 kB / 1.125 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.104e-06/1.027, allocations: 1.125 kB / 1.125 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.077e-05/1.028, allocations: 0 / 1.125 GB, free: 14.1 MB / 0.8887 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.004577/1.032, allocations: 2.139 MB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.032, allocations: 15 kB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/1.032, allocations: 192.6 kB / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/1.044, allocations: 2.086 MB / 1.13 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003425/1.048, allocations: 1.29 MB / 1.131 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/1.048, allocations: 85.8 kB / 1.131 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/1.048, allocations: 125.8 kB / 1.131 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006519/1.055, allocations: 2.681 MB / 1.134 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/1.055, allocations: 8.297 kB / 1.134 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/1.055, allocations: 54.23 kB / 1.134 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006553/1.056, allocations: 180.2 kB / 1.134 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00824/1.064, allocations: 2.797 MB / 1.137 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/1.08, allocations: 10.47 MB / 1.147 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006746/1.086, allocations: 2.523 MB / 1.149 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003164/1.09, allocations: 1.281 MB / 1.151 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.896e-05/1.09, allocations: 12.75 kB / 1.151 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/1.09, allocations: 44.14 kB / 1.151 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=89): time 2.655e-06/1.09, allocations: 0 / 1.151 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=131): time 0.04683/1.137, allocations: 13.37 MB / 1.164 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/1.137, allocations: 69 kB / 1.164 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/1.139, allocations: 1.114 MB / 1.165 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/1.139, allocations: 54.73 kB / 1.165 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/1.14, allocations: 0.7111 MB / 1.166 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/1.14, allocations: 453.9 kB / 1.166 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006178/1.141, allocations: 263.5 kB / 1.166 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.141, allocations: 360.5 kB / 1.167 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/1.144, allocations: 1.341 MB / 1.168 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/1.148, allocations: 1.606 MB / 1.17 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007084/1.155, allocations: 2.988 MB / 1.173 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.155, allocations: 5.172 kB / 1.173 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01196/1.167, allocations: 4.442 MB / 1.177 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.167, allocations: 11.56 kB / 1.177 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.167, allocations: 7.562 kB / 1.177 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005188/1.173, allocations: 1.434 MB / 1.178 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/1.175, allocations: 439.2 kB / 1.179 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02586/1.2, allocations: 26.67 MB / 1.205 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.203, allocations: 303.5 kB / 1.205 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/1.204, allocations: 59.97 kB / 1.205 GB, free: 2.469 MB / 0.9356 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.001159/1.205, allocations: 437.3 kB / 1.206 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/1.205, allocations: 162 kB / 1.206 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.217, allocations: 4.457 MB / 1.21 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/1.217, allocations: 15.98 kB / 1.21 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.026e-05/1.217, allocations: 16 kB / 1.21 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/1.217, allocations: 7.984 kB / 1.21 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.233, allocations: 6.76 MB / 1.217 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/1.233, allocations: 0 / 1.217 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.235, allocations: 383.3 kB / 1.217 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004587/1.24, allocations: 1.307 MB / 1.218 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/1.24, allocations: 47.95 kB / 1.218 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/1.264, allocations: 25.5 MB / 1.243 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.264, allocations: 4 kB / 1.243 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.275, allocations: 4.206 MB / 1.247 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.277, allocations: 458.9 kB / 1.248 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/1.277, allocations: 28 kB / 1.248 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.279, allocations: 307.5 kB / 1.248 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004729/1.28, allocations: 128.7 kB / 1.248 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.28, allocations: 48.44 kB / 1.248 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009978/1.281, allocations: 0.7487 MB / 1.249 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.281, allocations: 0 / 1.249 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002377/1.283, allocations: 0.5742 MB / 1.25 GB, free: 2.703 MB / 0.9825 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.01079/1.294, allocations: 4.797 MB / 1.254 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.305, allocations: 5.131 MB / 1.259 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.305, allocations: 0 / 1.259 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0069/1.312, allocations: 3.488 MB / 1.263 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/1.315, allocations: 0.5433 MB / 1.263 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04216/1.357, allocations: 19.38 MB / 1.282 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/1.359, allocations: 1.47 MB / 1.284 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001821/1.36, allocations: 425.6 kB / 1.284 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009453/1.361, allocations: 0.6281 MB / 1.285 GB, free: 13.94 MB / 1.029 GB Notification: Performance of SimCode: time 1.794e-06/1.361, allocations: 0 / 1.285 GB, free: 13.94 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.083/3.444, allocations: 52.77 MB / 1.336 GB, free: 9.809 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.27/21.71, allocations: 10.91 kB / 1.336 GB, free: 9.801 MB / 1.076 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches