Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.001436/0.001437, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 69.42 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.261, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02426/0.2853, allocations: 20.25 MB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.2954, allocations: 6.442 MB / 1.09 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009812/0.2964, allocations: 83.62 kB / 1.09 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004882/0.3013, allocations: 2.233 MB / 1.092 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.3037, allocations: 1.185 MB / 1.094 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.3064, allocations: 1.282 MB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005071/0.3114, allocations: 4.854 MB / 1.1 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006367/0.3178, allocations: 5.622 MB / 1.105 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.3206, allocations: 2.08 MB / 1.107 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002895/0.3235, allocations: 2.34 MB / 1.109 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005851/0.3241, allocations: 432 kB / 1.11 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.3259, allocations: 1.003 MB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.3275, allocations: 1.672 MB / 1.112 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.3294, allocations: 1.906 MB / 1.114 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00635/0.3358, allocations: 6.478 MB / 1.121 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.3358, allocations: 8 kB / 1.121 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3358, allocations: 7.875 kB / 1.121 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000102/0.3359, allocations: 0 / 1.121 GB, free: 4.121 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006237/0.3422, allocations: 3.452 MB / 1.124 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3422, allocations: 8.031 kB / 1.124 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005587/0.3428, allocations: 450.6 kB / 1.124 GB, free: 148 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.346, allocations: 0.6449 MB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.3493, allocations: 1.932 MB / 1.127 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.3495, allocations: 226.3 kB / 1.127 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/0.3499, allocations: 300 kB / 1.127 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007373/0.3573, allocations: 4.886 MB / 1.132 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-05/0.3574, allocations: 11.94 kB / 1.132 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.3577, allocations: 128 kB / 1.132 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000429/0.3581, allocations: 229.7 kB / 1.133 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005757/0.3639, allocations: 3.754 MB / 1.136 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02056/0.3845, allocations: 21.56 MB / 1.157 GB, free: 12.22 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.3862, allocations: 1.312 MB / 1.159 GB, free: 10.9 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.3877, allocations: 1.05 MB / 1.16 GB, free: 9.848 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-05/0.3877, allocations: 9 kB / 1.16 GB, free: 9.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.3878, allocations: 47.56 kB / 1.16 GB, free: 9.781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 4.548e-06/0.3878, allocations: 4 kB / 1.16 GB, free: 9.777 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02434/0.4121, allocations: 8.656 MB / 1.168 GB, free: 1.059 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4122, allocations: 64.72 kB / 1.168 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.4137, allocations: 1.13 MB / 1.169 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.513e-05/0.4138, allocations: 49.7 kB / 1.169 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009209/0.4147, allocations: 1.3 MB / 1.171 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.4151, allocations: 481.2 kB / 1.171 GB, free: 14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004984/0.4157, allocations: 287.3 kB / 1.171 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4158, allocations: 313.1 kB / 1.172 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.4171, allocations: 0.9057 MB / 1.172 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.4188, allocations: 1.334 MB / 1.174 GB, free: 11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/0.4221, allocations: 2.43 MB / 1.176 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4221, allocations: 4 kB / 1.176 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006181/0.4283, allocations: 3.468 MB / 1.18 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4284, allocations: 8 kB / 1.18 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.4284, allocations: 12 kB / 1.18 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003236/0.4316, allocations: 1.199 MB / 1.181 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/0.4325, allocations: 251.6 kB / 1.181 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/0.45, allocations: 13.85 MB / 1.195 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.4512, allocations: 92.03 kB / 1.195 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.4513, allocations: 71.98 kB / 1.195 GB, free: 5.008 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001652/0.453, allocations: 1.114 MB / 1.196 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.4533, allocations: 162.1 kB / 1.196 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00569/0.459, allocations: 3.169 MB / 1.199 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.459, allocations: 12 kB / 1.199 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.459, allocations: 15.94 kB / 1.199 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.459, allocations: 7.969 kB / 1.199 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009946/0.469, allocations: 6.252 MB / 1.205 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.469, allocations: 4 kB / 1.205 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/0.4696, allocations: 143.8 kB / 1.205 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002933/0.4725, allocations: 1.079 MB / 1.206 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/0.4726, allocations: 32 kB / 1.206 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/0.4902, allocations: 13.54 MB / 1.22 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4902, allocations: 11.88 kB / 1.22 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005208/0.4954, allocations: 3.15 MB / 1.223 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000696/0.4961, allocations: 430.9 kB / 1.223 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.4963, allocations: 32 kB / 1.223 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007568/0.4971, allocations: 83.89 kB / 1.223 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.4974, allocations: 120.7 kB / 1.223 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.531e-05/0.4975, allocations: 40 kB / 1.223 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000992/0.4985, allocations: 0.7632 MB / 1.224 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4985, allocations: 4 kB / 1.224 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001713/0.5002, allocations: 0.6602 MB / 1.225 GB, free: 5.488 MB / 0.9825 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005449/0.5057, allocations: 3.744 MB / 1.228 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00567/0.5113, allocations: 3.627 MB / 1.232 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5114, allocations: 4.25 kB / 1.232 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.5144, allocations: 1.951 MB / 1.234 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.5164, allocations: 0.496 MB / 1.234 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4138/0.9302, allocations: 20.11 MB / 1.254 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/0.932, allocations: 2.336 MB / 1.256 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009584/0.933, allocations: 352.4 kB / 1.257 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008332/0.9338, allocations: 1.009 MB / 1.258 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.9338, allocations: 0 / 1.258 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8269/1.761, allocations: 51.45 MB / 1.308 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.62, allocations: 7.594 kB / 1.308 GB, free: 143.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches