Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001476/0.001476, allocations: 108 kB / 15.6 MB, free: 132 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.001773/0.001773, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.437/2.437, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 60.47 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.227, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02004/0.2471, allocations: 20.26 MB / 1.073 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009049/0.2562, allocations: 6.445 MB / 1.079 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.2575, allocations: 87.56 kB / 1.079 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004779/0.2623, allocations: 2.239 MB / 1.081 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.2648, allocations: 1.177 MB / 1.082 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.2673, allocations: 1.293 MB / 1.084 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00423/0.2716, allocations: 4.85 MB / 1.088 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005037/0.2766, allocations: 5.618 MB / 1.094 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.2787, allocations: 2.084 MB / 1.096 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.2808, allocations: 2.34 MB / 1.098 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004477/0.2813, allocations: 432 kB / 1.099 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.2827, allocations: 1.003 MB / 1.1 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.284, allocations: 1.665 MB / 1.101 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.2856, allocations: 1.918 MB / 1.103 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.2901, allocations: 6.474 MB / 1.109 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2901, allocations: 4 kB / 1.109 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2901, allocations: 0 / 1.109 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.719e-05/0.2902, allocations: 0 / 1.109 GB, free: 14.21 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.004922/0.2951, allocations: 3.452 MB / 1.113 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2951, allocations: 16.61 kB / 1.113 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004752/0.2956, allocations: 450.6 kB / 1.113 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.2985, allocations: 0.6332 MB / 1.114 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.3011, allocations: 1.951 MB / 1.116 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.3012, allocations: 222.3 kB / 1.116 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.3016, allocations: 296 kB / 1.116 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005816/0.3074, allocations: 4.886 MB / 1.121 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.3075, allocations: 11.92 kB / 1.121 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/0.3078, allocations: 128 kB / 1.121 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003597/0.3081, allocations: 225.7 kB / 1.121 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/0.3128, allocations: 3.75 MB / 1.125 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.3284, allocations: 21.57 MB / 1.146 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.33, allocations: 1.309 MB / 1.147 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.3313, allocations: 1.042 MB / 1.148 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-05/0.3314, allocations: 13 kB / 1.148 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.3314, allocations: 43.56 kB / 1.148 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 3.237e-06/0.3314, allocations: 4 kB / 1.148 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138): time 0.02489/0.3563, allocations: 8.66 MB / 1.157 GB, free: 11.14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3564, allocations: 68.72 kB / 1.157 GB, free: 11.06 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.358, allocations: 1.13 MB / 1.158 GB, free: 9.926 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.3581, allocations: 49.7 kB / 1.158 GB, free: 9.871 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009079/0.359, allocations: 1.296 MB / 1.159 GB, free: 8.559 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004266/0.3594, allocations: 485.1 kB / 1.16 GB, free: 8.078 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/0.3599, allocations: 287.4 kB / 1.16 GB, free: 7.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.36, allocations: 305.1 kB / 1.16 GB, free: 7.492 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.3612, allocations: 0.9174 MB / 1.161 GB, free: 6.574 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.3628, allocations: 1.334 MB / 1.163 GB, free: 5.066 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.366, allocations: 2.426 MB / 1.165 GB, free: 2.473 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.366, allocations: 0 / 1.165 GB, free: 2.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006208/0.3722, allocations: 3.472 MB / 1.168 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.3723, allocations: 12 kB / 1.168 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.3723, allocations: 12 kB / 1.168 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/0.3754, allocations: 1.194 MB / 1.17 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.3762, allocations: 263.6 kB / 1.17 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.3933, allocations: 13.84 MB / 1.183 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.3948, allocations: 92.09 kB / 1.183 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.3949, allocations: 60 kB / 1.183 GB, free: 15.09 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.002285/0.3972, allocations: 1.118 MB / 1.185 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.3975, allocations: 162.1 kB / 1.185 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005654/0.4032, allocations: 3.177 MB / 1.188 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.4032, allocations: 16 kB / 1.188 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.4033, allocations: 15.94 kB / 1.188 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.4033, allocations: 7.969 kB / 1.188 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.4138, allocations: 6.241 MB / 1.194 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.4139, allocations: 11.98 kB / 1.194 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.4146, allocations: 143.8 kB / 1.194 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/0.4174, allocations: 1.075 MB / 1.195 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.296e-05/0.4175, allocations: 28 kB / 1.195 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/0.4364, allocations: 13.54 MB / 1.208 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.4365, allocations: 8 kB / 1.208 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.4417, allocations: 3.146 MB / 1.211 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008156/0.4426, allocations: 434.9 kB / 1.212 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.4428, allocations: 35.98 kB / 1.212 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/0.4436, allocations: 79.91 kB / 1.212 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003458/0.444, allocations: 120.7 kB / 1.212 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.544e-05/0.444, allocations: 40 kB / 1.212 GB, free: 1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001011/0.4451, allocations: 0.771 MB / 1.213 GB, free: 232 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4451, allocations: 0 / 1.213 GB, free: 232 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001852/0.4469, allocations: 0.6563 MB / 1.214 GB, free: 15.57 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.005329/0.4523, allocations: 3.744 MB / 1.217 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005577/0.4579, allocations: 3.63 MB / 1.221 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.4579, allocations: 8.25 kB / 1.221 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00304/0.4609, allocations: 1.947 MB / 1.223 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.4631, allocations: 0.5021 MB / 1.223 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/0.4974, allocations: 20.1 MB / 1.243 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/0.5007, allocations: 2.336 MB / 1.245 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001421/0.5022, allocations: 342.1 kB / 1.245 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.5035, allocations: 1.011 MB / 1.246 GB, free: 12.93 MB / 1.014 GB Notification: Performance of SimCode: time 1.402e-06/0.5036, allocations: 3.938 kB / 1.246 GB, free: 12.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6198/1.123, allocations: 51.45 MB / 1.297 GB, free: 183.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.55, allocations: 10.72 kB / 1.297 GB, free: 183.5 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches