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.005279/0.005279, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001449/0.001449, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.403/2.403, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 71.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2494, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02887/0.2783, allocations: 26.67 MB / 1.192 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.291, allocations: 8.071 MB / 1.2 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.2928, allocations: 115.4 kB / 1.2 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006057/0.2989, allocations: 2.749 MB / 1.203 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.3021, allocations: 1.593 MB / 1.204 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003367/0.3055, allocations: 1.68 MB / 1.206 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006032/0.3116, allocations: 6.15 MB / 1.212 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007466/0.319, allocations: 7.304 MB / 1.219 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.3224, allocations: 2.57 MB / 1.222 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.3255, allocations: 2.835 MB / 1.225 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006177/0.3261, allocations: 0.5117 MB / 1.225 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.3282, allocations: 1.279 MB / 1.226 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.33, allocations: 2.054 MB / 1.228 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.3323, allocations: 2.381 MB / 1.231 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00768/0.34, allocations: 8.068 MB / 1.239 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.34, allocations: 0 / 1.239 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.849e-06/0.34, allocations: 4 kB / 1.239 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.00015/0.3402, allocations: 0 / 1.239 GB, free: 12.95 MB / 0.9981 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.007513/0.3477, allocations: 4.343 MB / 1.243 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3477, allocations: 12.03 kB / 1.243 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006656/0.3484, allocations: 0.5304 MB / 1.243 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.3522, allocations: 0.8257 MB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/0.3562, allocations: 2.59 MB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.3564, allocations: 271.7 kB / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006121/0.357, allocations: 376.4 kB / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4445/0.8015, allocations: 5.987 MB / 1.253 GB, free: 72.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.443e-05/0.8016, allocations: 20.62 kB / 1.253 GB, free: 72.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003169/0.802, allocations: 160.2 kB / 1.253 GB, free: 72.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005706/0.8025, allocations: 285.4 kB / 1.254 GB, free: 72.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006472/0.809, allocations: 4.518 MB / 1.258 GB, free: 71.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01915/0.8282, allocations: 27.51 MB / 1.285 GB, free: 49.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.8295, allocations: 1.118 MB / 1.286 GB, free: 48.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.8306, allocations: 1.026 MB / 1.287 GB, free: 48.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.453e-05/0.8307, allocations: 13.73 kB / 1.287 GB, free: 48.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.8307, allocations: 46.05 kB / 1.287 GB, free: 48.35 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 2.505e-06/0.8307, allocations: 0 / 1.287 GB, free: 48.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.01792/0.8487, allocations: 9.712 MB / 1.296 GB, free: 44.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.8487, allocations: 71.81 kB / 1.297 GB, free: 44.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.8503, allocations: 1.494 MB / 1.298 GB, free: 43.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/0.8503, allocations: 47.33 kB / 1.298 GB, free: 43.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/0.851, allocations: 1.718 MB / 1.3 GB, free: 42.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.8513, allocations: 498.2 kB / 1.3 GB, free: 41.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000421/0.8517, allocations: 326.3 kB / 1.3 GB, free: 41.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.79e-05/0.8517, allocations: 305.1 kB / 1.301 GB, free: 41.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.8529, allocations: 0.9158 MB / 1.302 GB, free: 41.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.8541, allocations: 1.461 MB / 1.303 GB, free: 40.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/0.8565, allocations: 2.554 MB / 1.306 GB, free: 38.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.8565, allocations: 5.25 kB / 1.306 GB, free: 38.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004673/0.8612, allocations: 3.295 MB / 1.309 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.8613, allocations: 15.11 kB / 1.309 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.8613, allocations: 17.25 kB / 1.309 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001995/0.8633, allocations: 0.7409 MB / 1.31 GB, free: 36.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.8646, allocations: 384.1 kB / 1.31 GB, free: 36.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.8757, allocations: 17.06 MB / 1.327 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.8769, allocations: 98.7 kB / 1.327 GB, free: 22.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.877, allocations: 72.09 kB / 1.327 GB, free: 22.16 MB / 0.9981 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.001525/0.8785, allocations: 1.311 MB / 1.328 GB, free: 21.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.8788, allocations: 210.1 kB / 1.328 GB, free: 21.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/0.8828, allocations: 2.792 MB / 1.331 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.8828, allocations: 12.5 kB / 1.331 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.8828, allocations: 6.938 kB / 1.331 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.8828, allocations: 13.39 kB / 1.331 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007451/0.8903, allocations: 6.217 MB / 1.337 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.8903, allocations: 3.688 kB / 1.337 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.8913, allocations: 234.9 kB / 1.337 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.893, allocations: 0.6771 MB / 1.338 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.8931, allocations: 31.75 kB / 1.338 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009732/0.9028, allocations: 16.78 MB / 1.354 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9028, allocations: 3.969 kB / 1.354 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.9082, allocations: 4.023 MB / 1.358 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007061/0.9089, allocations: 465.4 kB / 1.359 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.9092, allocations: 39.02 kB / 1.359 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/0.91, allocations: 77.84 kB / 1.359 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.9102, allocations: 121.8 kB / 1.359 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/0.9103, allocations: 42.48 kB / 1.359 GB, free: 13.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001107/0.9114, allocations: 0.9919 MB / 1.36 GB, free: 12.56 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9114, allocations: 3.938 kB / 1.36 GB, free: 12.56 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001852/0.9133, allocations: 0.6868 MB / 1.361 GB, free: 12.5 MB / 1.014 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.005779/0.9191, allocations: 4.616 MB / 1.365 GB, free: 8.688 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005021/0.9241, allocations: 3.534 MB / 1.369 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9241, allocations: 0 / 1.369 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003024/0.9271, allocations: 2.303 MB / 1.371 GB, free: 2.625 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.9297, allocations: 0.6741 MB / 1.372 GB, free: 1.984 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/0.958, allocations: 21.25 MB / 1.392 GB, free: 11.87 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002511/0.9605, allocations: 2.664 MB / 1.395 GB, free: 9.172 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001204/0.9617, allocations: 481.4 kB / 1.395 GB, free: 8.699 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.9631, allocations: 1.28 MB / 1.397 GB, free: 7.418 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.9631, allocations: 0 / 1.397 GB, free: 7.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 16.98/17.94, allocations: 57.23 MB / 1.452 GB, free: 14.93 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/30.95, allocations: 3.984 kB / 1.452 GB, free: 14.93 MB / 1.107 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=400 --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