Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001369/0.001373, 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.001869/0.00187, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.383/2.383, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 64.09 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.7591, allocations: 140.4 MB / 0.9491 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0261/0.7852, allocations: 26.44 MB / 0.9749 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01443/0.7997, allocations: 8.075 MB / 0.9828 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003742/0.8035, allocations: 103.6 kB / 0.9829 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00638/0.8099, allocations: 2.575 MB / 0.9854 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.8154, allocations: 1.49 MB / 0.9868 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.8197, allocations: 1.528 MB / 0.9883 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01/0.8297, allocations: 8.697 MB / 0.9968 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.8411, allocations: 8.193 MB / 1.005 GB, free: 8.949 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.8448, allocations: 2.191 MB / 1.007 GB, free: 6.75 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003436/0.8483, allocations: 2.893 MB / 1.01 GB, free: 3.848 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005821/0.8489, allocations: 348 kB / 1.01 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/0.8513, allocations: 1.326 MB / 1.011 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.8529, allocations: 1.879 MB / 1.013 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.855, allocations: 2.182 MB / 1.015 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005969/0.861, allocations: 7.926 MB / 1.023 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.861, allocations: 0 / 1.023 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.861, allocations: 0 / 1.023 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001381/0.8612, allocations: 4 kB / 1.023 GB, free: 6.152 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008261/0.8694, allocations: 4.232 MB / 1.027 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.8695, allocations: 15.97 kB / 1.027 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007653/0.8703, allocations: 0.5382 MB / 1.028 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004152/0.8744, allocations: 0.8039 MB / 1.029 GB, free: 496 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004159/0.8786, allocations: 2.424 MB / 1.031 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.8788, allocations: 267.6 kB / 1.031 GB, free: 13.74 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006189/0.8794, allocations: 376.4 kB / 1.032 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008541/0.888, allocations: 5.992 MB / 1.037 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/0.8881, allocations: 23.83 kB / 1.037 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003418/0.8884, allocations: 160 kB / 1.038 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005336/0.8889, allocations: 274.9 kB / 1.038 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00675/0.8957, allocations: 4.528 MB / 1.042 GB, free: 2.145 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0287/0.9244, allocations: 27.65 MB / 1.069 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.9261, allocations: 1.123 MB / 1.07 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.9275, allocations: 1.023 MB / 1.071 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-05/0.9277, allocations: 17 kB / 1.071 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.9277, allocations: 47.56 kB / 1.071 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 3.456e-06/0.9277, allocations: 0 / 1.071 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.02191/0.9496, allocations: 9.651 MB / 1.081 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.9497, allocations: 64.72 kB / 1.081 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.9527, allocations: 1.502 MB / 1.082 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.9528, allocations: 53.7 kB / 1.082 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.9541, allocations: 1.663 MB / 1.084 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005279/0.9546, allocations: 469.3 kB / 1.085 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006057/0.9553, allocations: 323.2 kB / 1.085 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9554, allocations: 305.1 kB / 1.085 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.9567, allocations: 0.9174 MB / 1.086 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.9583, allocations: 1.467 MB / 1.087 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.9614, allocations: 2.542 MB / 1.09 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.9614, allocations: 4 kB / 1.09 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005494/0.9669, allocations: 3.289 MB / 1.093 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.967, allocations: 15.94 kB / 1.093 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.967, allocations: 16 kB / 1.093 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002216/0.9692, allocations: 0.7459 MB / 1.094 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.9706, allocations: 387.4 kB / 1.094 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.9855, allocations: 15.76 MB / 1.11 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.9875, allocations: 95.91 kB / 1.11 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003812/0.9879, allocations: 79.98 kB / 1.11 GB, free: 8.414 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002874/0.9908, allocations: 1.314 MB / 1.111 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006287/0.9914, allocations: 201.7 kB / 1.111 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/0.9967, allocations: 2.792 MB / 1.114 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.9968, allocations: 12 kB / 1.114 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.9968, allocations: 8 kB / 1.114 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.9968, allocations: 3.984 kB / 1.114 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.008, allocations: 6.22 MB / 1.12 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.008, allocations: 4 kB / 1.12 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.009, allocations: 236.3 kB / 1.12 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/1.011, allocations: 0.6711 MB / 1.121 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.011, allocations: 40 kB / 1.121 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.026, allocations: 15.51 MB / 1.136 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.026, allocations: 8 kB / 1.136 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006221/1.032, allocations: 4.004 MB / 1.14 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008839/1.033, allocations: 446.7 kB / 1.141 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/1.033, allocations: 43.89 kB / 1.141 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.035, allocations: 83.89 kB / 1.141 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/1.035, allocations: 112.7 kB / 1.141 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.035, allocations: 48 kB / 1.141 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001889/1.037, allocations: 0.9903 MB / 1.142 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.094e-06/1.037, allocations: 0 / 1.142 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00288/1.04, allocations: 0.6874 MB / 1.142 GB, free: 5.43 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.006797/1.047, allocations: 4.604 MB / 1.147 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005383/1.052, allocations: 3.495 MB / 1.15 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/1.052, allocations: 4 kB / 1.15 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003727/1.056, allocations: 2.292 MB / 1.153 GB, free: 10.68 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004229/1.06, allocations: 0.6134 MB / 1.153 GB, free: 10.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04318/1.103, allocations: 24.27 MB / 1.177 GB, free: 204 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003882/1.107, allocations: 2.664 MB / 1.18 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001528/1.109, allocations: 497.4 kB / 1.18 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/1.11, allocations: 1.276 MB / 1.181 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of SimCode: time 8.92e-07/1.11, allocations: 3.938 kB / 1.181 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.88/3.99, allocations: 54.98 MB / 1.235 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/3.991, allocations: 252.8 kB / 1.235 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/6.473, allocations: 0 / 1.235 GB, free: 5.199 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches