Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.007814/0.007814, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001971/0.001971, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.444/2.444, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8372/0.8386, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02556/0.8642, allocations: 22.6 MB / 1.188 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.8761, allocations: 6.233 MB / 1.194 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/0.8783, allocations: 91.56 kB / 1.194 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004695/0.8831, allocations: 1.558 MB / 1.196 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005244/0.8884, allocations: 1.719 MB / 1.198 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004223/0.8926, allocations: 1.345 MB / 1.199 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007325/0.9, allocations: 5.947 MB / 1.205 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009659/0.9097, allocations: 6.051 MB / 1.211 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005388/0.9151, allocations: 2.438 MB / 1.213 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004701/0.9199, allocations: 2.878 MB / 1.216 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.9213, allocations: 456 kB / 1.216 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.9243, allocations: 1.1 MB / 1.217 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003184/0.9275, allocations: 2.023 MB / 1.219 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004844/0.9324, allocations: 2.167 MB / 1.221 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.9441, allocations: 7.295 MB / 1.229 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.9441, allocations: 0 / 1.229 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9441, allocations: 0 / 1.229 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002562/0.9444, allocations: 0 / 1.229 GB, free: 3.625 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01269/0.9571, allocations: 3.828 MB / 1.232 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/0.9572, allocations: 8.922 kB / 1.232 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002126/0.9593, allocations: 0.5015 MB / 1.233 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007036/0.9664, allocations: 1.21 MB / 1.234 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/0.9715, allocations: 2.336 MB / 1.236 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.9718, allocations: 242.4 kB / 1.236 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/0.973, allocations: 315.8 kB / 1.237 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.9862, allocations: 6.22 MB / 1.243 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.9864, allocations: 7.938 kB / 1.243 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006891/0.9871, allocations: 143.9 kB / 1.243 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005328/0.9876, allocations: 406.3 kB / 1.243 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.9977, allocations: 4.662 MB / 1.248 GB, free: 15.36 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0389/1.037, allocations: 28.96 MB / 1.276 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/1.039, allocations: 1.408 MB / 1.278 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/1.041, allocations: 1.486 MB / 1.279 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/1.041, allocations: 13 kB / 1.279 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/1.042, allocations: 51.48 kB / 1.279 GB, free: 12.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 4.087e-06/1.042, allocations: 0 / 1.279 GB, free: 12.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=179): time 0.1348/1.176, allocations: 37.24 MB / 1.315 GB, free: 7.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/1.177, allocations: 73.34 kB / 1.316 GB, free: 7.301 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/1.179, allocations: 1.427 MB / 1.317 GB, free: 5.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004055/1.179, allocations: 61.64 kB / 1.317 GB, free: 5.801 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/1.181, allocations: 1.527 MB / 1.318 GB, free: 4.254 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008936/1.182, allocations: 0.6162 MB / 1.319 GB, free: 3.629 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/1.183, allocations: 383.3 kB / 1.319 GB, free: 3.246 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.183, allocations: 301.1 kB / 1.32 GB, free: 2.949 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002822/1.186, allocations: 1.784 MB / 1.321 GB, free: 1.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/1.189, allocations: 2.35 MB / 1.324 GB, free: 14.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006315/1.195, allocations: 4.387 MB / 1.328 GB, free: 9.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/1.195, allocations: 12 kB / 1.328 GB, free: 9.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01913/1.214, allocations: 8.571 MB / 1.336 GB, free: 1.309 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/1.214, allocations: 16 kB / 1.336 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/1.214, allocations: 16 kB / 1.336 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/1.23, allocations: 4.634 MB / 1.341 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.231, allocations: 299.5 kB / 1.341 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04903/1.28, allocations: 32.58 MB / 1.373 GB, free: 10.9 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/1.282, allocations: 151.8 kB / 1.373 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/1.283, allocations: 80 kB / 1.373 GB, free: 10.67 MB / 1.107 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002571/1.285, allocations: 1.341 MB / 1.375 GB, free: 9.32 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006845/1.286, allocations: 201.6 kB / 1.375 GB, free: 9.121 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/1.304, allocations: 8.437 MB / 1.383 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/1.304, allocations: 16 kB / 1.383 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.803e-05/1.304, allocations: 27.94 kB / 1.383 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-05/1.304, allocations: 11.97 kB / 1.383 GB, free: 0.582 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02673/1.331, allocations: 12.84 MB / 1.396 GB, free: 3.566 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/1.331, allocations: 11.98 kB / 1.396 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/1.332, allocations: 160.6 kB / 1.396 GB, free: 3.398 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01476/1.347, allocations: 4.497 MB / 1.4 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003854/1.347, allocations: 36 kB / 1.4 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.049/1.396, allocations: 32.19 MB / 1.432 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/1.396, allocations: 8 kB / 1.432 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/1.413, allocations: 8.236 MB / 1.44 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/1.415, allocations: 0.6233 MB / 1.44 GB, free: 4.789 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006765/1.416, allocations: 32 kB / 1.44 GB, free: 4.758 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.418, allocations: 143.8 kB / 1.441 GB, free: 4.617 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009847/1.419, allocations: 164.9 kB / 1.441 GB, free: 4.453 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.419, allocations: 56 kB / 1.441 GB, free: 4.398 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001837/1.421, allocations: 0.9587 MB / 1.442 GB, free: 3.445 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.5e-07/1.421, allocations: 0 / 1.442 GB, free: 3.445 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004119/1.425, allocations: 1.117 MB / 1.443 GB, free: 2.328 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0177/1.443, allocations: 8.836 MB / 1.451 GB, free: 9.344 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.456, allocations: 6.542 MB / 1.458 GB, free: 2.73 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.456, allocations: 4 kB / 1.458 GB, free: 2.727 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.009751/1.466, allocations: 4.355 MB / 1.462 GB, free: 14.29 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/1.47, allocations: 0.5188 MB / 1.463 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06654/1.536, allocations: 33.63 MB / 1.495 GB, free: 11.25 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003971/1.54, allocations: 2.723 MB / 1.498 GB, free: 8.488 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001153/1.541, allocations: 388.5 kB / 1.498 GB, free: 8.105 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.543, allocations: 1.222 MB / 1.5 GB, free: 6.883 MB / 1.232 GB Notification: Performance of SimCode: time 8.51e-07/1.543, allocations: 0 / 1.5 GB, free: 6.883 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.771/2.314, allocations: 83.88 MB / 1.582 GB, free: 359.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/15.44, allocations: 10.33 kB / 1.582 GB, free: 359.1 MB / 1.279 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches