Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001349/0.001349, 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.001679/0.001679, allocations: 195.1 kB / 16.14 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7676, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03534/0.803, allocations: 32.31 MB / 0.9806 GB, free: 472 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.8213, allocations: 10.27 MB / 0.9906 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004984/0.8263, allocations: 139.2 kB / 0.9908 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009721/0.8361, allocations: 3.476 MB / 0.9942 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005977/0.8421, allocations: 1.739 MB / 0.9959 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005427/0.8476, allocations: 1.946 MB / 0.9978 GB, free: 80 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01162/0.8592, allocations: 10.57 MB / 1.008 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01823/0.8775, allocations: 10.62 MB / 1.018 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.8824, allocations: 2.705 MB / 1.021 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006458/0.8889, allocations: 3.555 MB / 1.025 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.891, allocations: 452 kB / 1.025 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005349/0.8963, allocations: 1.876 MB / 1.027 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.004374/0.9007, allocations: 2.343 MB / 1.029 GB, free: 15.8 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006457/0.9072, allocations: 2.656 MB / 1.032 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.922, allocations: 9.987 MB / 1.041 GB, free: 3.113 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.9221, allocations: 0 / 1.041 GB, free: 3.113 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9221, allocations: 0 / 1.041 GB, free: 3.113 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004429/0.9226, allocations: 0 / 1.041 GB, free: 3.113 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01405/0.9366, allocations: 5.002 MB / 1.046 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.9367, allocations: 8.031 kB / 1.046 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001765/0.9384, allocations: 0.6859 MB / 1.047 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005692/0.9441, allocations: 0.9473 MB / 1.048 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005858/0.95, allocations: 2.862 MB / 1.051 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003248/0.9504, allocations: 353.7 kB / 1.051 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.952, allocations: 456.2 kB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01782/0.9699, allocations: 7.671 MB / 1.059 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001994/0.9701, allocations: 31.69 kB / 1.059 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/0.9711, allocations: 203.9 kB / 1.059 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000385/0.9715, allocations: 320.9 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.9834, allocations: 5.706 MB / 1.065 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03974/1.023, allocations: 35.09 MB / 1.099 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/1.026, allocations: 2.152 MB / 1.101 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/1.028, allocations: 1.266 MB / 1.103 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/1.028, allocations: 17.31 kB / 1.103 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/1.028, allocations: 47.88 kB / 1.103 GB, free: 484 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 3.447e-06/1.028, allocations: 0 / 1.103 GB, free: 484 kB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01486/1.043, allocations: 7.092 MB / 1.11 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/1.043, allocations: 64.72 kB / 1.11 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/1.045, allocations: 1.484 MB / 1.111 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-05/1.045, allocations: 45.7 kB / 1.111 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/1.046, allocations: 2.004 MB / 1.113 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/1.047, allocations: 497 kB / 1.114 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/1.047, allocations: 347.1 kB / 1.114 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/1.047, allocations: 305.1 kB / 1.114 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/1.049, allocations: 0.9057 MB / 1.115 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/1.05, allocations: 1.593 MB / 1.117 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/1.053, allocations: 2.737 MB / 1.119 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/1.053, allocations: 8 kB / 1.119 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00566/1.059, allocations: 3.526 MB / 1.123 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/1.059, allocations: 21.66 kB / 1.123 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/1.059, allocations: 27.94 kB / 1.123 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00262/1.062, allocations: 0.9083 MB / 1.124 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.063, allocations: 355.3 kB / 1.124 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/1.083, allocations: 21.21 MB / 1.145 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.084, allocations: 95.92 kB / 1.145 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/1.085, allocations: 91.98 kB / 1.145 GB, free: 2.512 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002563/1.087, allocations: 1.615 MB / 1.147 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004579/1.088, allocations: 201.6 kB / 1.147 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005446/1.093, allocations: 2.99 MB / 1.15 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/1.093, allocations: 12 kB / 1.15 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.21e-05/1.093, allocations: 16 kB / 1.15 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.093, allocations: 7.969 kB / 1.15 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.108, allocations: 7.344 MB / 1.157 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.108, allocations: 4 kB / 1.157 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000778/1.109, allocations: 175.7 kB / 1.157 GB, free: 5.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/1.111, allocations: 0.8182 MB / 1.158 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/1.111, allocations: 32 kB / 1.158 GB, free: 4.965 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/1.129, allocations: 20.3 MB / 1.178 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/1.129, allocations: 11.94 kB / 1.178 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005715/1.135, allocations: 3.019 MB / 1.181 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.136, allocations: 458.5 kB / 1.181 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/1.137, allocations: 35.89 kB / 1.181 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.138, allocations: 67.92 kB / 1.181 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005566/1.138, allocations: 136.6 kB / 1.181 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.138, allocations: 36 kB / 1.181 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002467/1.141, allocations: 0.9756 MB / 1.182 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.141, allocations: 0 / 1.182 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004154/1.145, allocations: 0.7852 MB / 1.183 GB, free: 9.391 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006303/1.151, allocations: 3.622 MB / 1.187 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005919/1.157, allocations: 4.008 MB / 1.191 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.157, allocations: 4 kB / 1.191 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003656/1.161, allocations: 2.729 MB / 1.193 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/1.165, allocations: 0.6742 MB / 1.194 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04445/1.209, allocations: 25.75 MB / 1.219 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005188/1.215, allocations: 3.109 MB / 1.222 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001548/1.216, allocations: 457.9 kB / 1.223 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/1.218, allocations: 1.534 MB / 1.224 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.218, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.857/4.075, allocations: 59.03 MB / 1.282 GB, free: 268.9 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/4.076, allocations: 243.8 kB / 1.282 GB, free: 268.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/6.562, allocations: 0 / 1.282 GB, free: 268.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches