Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001004/0.001004, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009608/0.0009607, allocations: 191 kB / 16.25 MB, free: 6.637 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.244/1.244, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437 MB / 0.7101 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.8689 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6141/0.6153, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02787/0.6432, allocations: 26.44 MB / 1.043 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.6569, allocations: 8.009 MB / 1.051 GB, free: 196 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.6596, allocations: 107.4 kB / 1.051 GB, free: 88 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006502/0.6661, allocations: 2.576 MB / 1.053 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.6704, allocations: 1.458 MB / 1.055 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.6744, allocations: 1.538 MB / 1.056 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006841/0.6812, allocations: 6.165 MB / 1.062 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01211/0.6933, allocations: 8.957 MB / 1.071 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.6974, allocations: 2.605 MB / 1.073 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.7019, allocations: 2.971 MB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.7034, allocations: 0.5117 MB / 1.077 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.7068, allocations: 1.287 MB / 1.078 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.7091, allocations: 2.05 MB / 1.08 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.7117, allocations: 2.381 MB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006756/0.7185, allocations: 8.074 MB / 1.09 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.7185, allocations: 4 kB / 1.09 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7185, allocations: 0 / 1.09 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.624e-05/0.7186, allocations: 0 / 1.09 GB, free: 7.324 MB / 0.8419 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.006604/0.7252, allocations: 4.224 MB / 1.094 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.7252, allocations: 12.03 kB / 1.094 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006352/0.7259, allocations: 0.5382 MB / 1.095 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.7297, allocations: 0.7961 MB / 1.096 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.7332, allocations: 2.428 MB / 1.098 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.7333, allocations: 271.6 kB / 1.098 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005981/0.7339, allocations: 380.4 kB / 1.099 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007805/0.7418, allocations: 5.984 MB / 1.105 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.334e-05/0.7419, allocations: 15.88 kB / 1.105 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003349/0.7422, allocations: 168 kB / 1.105 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005352/0.7427, allocations: 282.9 kB / 1.105 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006144/0.7489, allocations: 4.52 MB / 1.109 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02343/0.7723, allocations: 27.66 MB / 1.136 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.7739, allocations: 1.12 MB / 1.138 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.7751, allocations: 1.019 MB / 1.139 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.7752, allocations: 16.97 kB / 1.139 GB, free: 3 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.7753, allocations: 47.56 kB / 1.139 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.696e-06/0.7753, allocations: 0 / 1.139 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.02028/0.7956, allocations: 9.67 MB / 1.148 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.7956, allocations: 64.72 kB / 1.148 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.7977, allocations: 1.494 MB / 1.15 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-05/0.7978, allocations: 53.69 kB / 1.15 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.7988, allocations: 1.659 MB / 1.151 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/0.7992, allocations: 473.3 kB / 1.152 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004907/0.7997, allocations: 327.2 kB / 1.152 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.7998, allocations: 309.1 kB / 1.152 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.801, allocations: 0.9096 MB / 1.153 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.8026, allocations: 1.467 MB / 1.155 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.8055, allocations: 2.55 MB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.8056, allocations: 4 kB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00539/0.811, allocations: 3.293 MB / 1.16 GB, free: 11.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.811, allocations: 15.94 kB / 1.16 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.811, allocations: 16 kB / 1.16 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/0.8132, allocations: 0.7417 MB / 1.161 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.8146, allocations: 383.4 kB / 1.161 GB, free: 10.74 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/0.83, allocations: 17.05 MB / 1.178 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.8315, allocations: 99.91 kB / 1.178 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.8317, allocations: 72 kB / 1.178 GB, free: 8.246 MB / 0.9356 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.002137/0.8338, allocations: 1.313 MB / 1.18 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/0.8343, allocations: 197.7 kB / 1.18 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/0.8393, allocations: 2.796 MB / 1.182 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.8393, allocations: 16.19 kB / 1.182 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-05/0.8393, allocations: 11.94 kB / 1.182 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.8394, allocations: 7.969 kB / 1.183 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.8499, allocations: 6.213 MB / 1.189 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.8499, allocations: 4.656 kB / 1.189 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.8511, allocations: 243.6 kB / 1.189 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/0.8531, allocations: 0.6711 MB / 1.189 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.8532, allocations: 32 kB / 1.189 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/0.8683, allocations: 16.78 MB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.8683, allocations: 12 kB / 1.206 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/0.8747, allocations: 4.008 MB / 1.21 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009413/0.8756, allocations: 454.7 kB / 1.21 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/0.8761, allocations: 35.92 kB / 1.21 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.8772, allocations: 79.89 kB / 1.21 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/0.8775, allocations: 116.7 kB / 1.21 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/0.8776, allocations: 40 kB / 1.21 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001586/0.8792, allocations: 0.9903 MB / 1.211 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8792, allocations: 3.938 kB / 1.211 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002321/0.8816, allocations: 0.6836 MB / 1.212 GB, free: 3.93 MB / 0.9669 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.006253/0.8878, allocations: 4.616 MB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006188/0.894, allocations: 4.105 MB / 1.221 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.894, allocations: 4.062 kB / 1.221 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003042/0.8971, allocations: 2.287 MB / 1.223 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.9002, allocations: 0.6826 MB / 1.224 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5028/1.403, allocations: 24.23 MB / 1.247 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/1.406, allocations: 2.665 MB / 1.25 GB, free: 210 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001856/1.408, allocations: 488 kB / 1.25 GB, free: 210 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.409, allocations: 1.282 MB / 1.252 GB, free: 210 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.409, allocations: 0 / 1.252 GB, free: 210 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09018/1.5, allocations: 56.36 MB / 1.307 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/1.5, allocations: 248.3 kB / 1.307 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/4.057, allocations: 0 / 1.307 GB, free: 177.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches