Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005409/0.005409, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001486/0.001487, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7528/0.7546, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02716/0.7818, allocations: 22.6 MB / 1.242 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.7934, allocations: 6.229 MB / 1.248 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.7952, allocations: 91.56 kB / 1.248 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004156/0.7994, allocations: 1.541 MB / 1.25 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.8033, allocations: 1.629 MB / 1.252 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.8066, allocations: 1.352 MB / 1.253 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007406/0.814, allocations: 5.947 MB / 1.259 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008713/0.8228, allocations: 6.037 MB / 1.265 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.8272, allocations: 2.418 MB / 1.267 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005064/0.8323, allocations: 2.866 MB / 1.27 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.8337, allocations: 456 kB / 1.27 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/0.837, allocations: 1.096 MB / 1.271 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003281/0.8403, allocations: 2.031 MB / 1.273 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00449/0.8448, allocations: 2.163 MB / 1.275 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.8549, allocations: 7.32 MB / 1.282 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.855, allocations: 0 / 1.282 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.855, allocations: 0 / 1.282 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002328/0.8552, allocations: 0 / 1.282 GB, free: 2.031 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008915/0.8641, allocations: 3.925 MB / 1.286 GB, free: 14.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.8642, allocations: 8.031 kB / 1.286 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008443/0.8651, allocations: 0.5015 MB / 1.287 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00632/0.8714, allocations: 1.227 MB / 1.288 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004838/0.8762, allocations: 2.349 MB / 1.29 GB, free: 9.883 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.8765, allocations: 238.4 kB / 1.29 GB, free: 9.648 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007686/0.8773, allocations: 315.9 kB / 1.291 GB, free: 9.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.8883, allocations: 6.22 MB / 1.297 GB, free: 2.863 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.51e-05/0.8884, allocations: 11.88 kB / 1.297 GB, free: 2.852 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/0.8888, allocations: 143.9 kB / 1.297 GB, free: 2.711 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005107/0.8893, allocations: 406.3 kB / 1.297 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008654/0.898, allocations: 4.658 MB / 1.302 GB, free: 13.64 MB / 1.029 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.03524/0.9333, allocations: 28.98 MB / 1.33 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.9356, allocations: 1.427 MB / 1.332 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.9377, allocations: 1.491 MB / 1.333 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.9379, allocations: 12.98 kB / 1.333 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.9379, allocations: 51.5 kB / 1.333 GB, free: 10.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 5.881e-06/0.9379, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=179): time 0.1482/1.086, allocations: 37.3 MB / 1.37 GB, free: 5.582 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/1.086, allocations: 77.33 kB / 1.37 GB, free: 5.492 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/1.088, allocations: 1.415 MB / 1.371 GB, free: 4.07 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000274/1.089, allocations: 57.7 kB / 1.371 GB, free: 4.008 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/1.09, allocations: 1.583 MB / 1.373 GB, free: 2.41 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/1.09, allocations: 0.6429 MB / 1.373 GB, free: 1.762 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007493/1.091, allocations: 383.5 kB / 1.374 GB, free: 1.379 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.091, allocations: 309.1 kB / 1.374 GB, free: 1.074 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/1.094, allocations: 1.788 MB / 1.376 GB, free: 15.28 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/1.097, allocations: 2.346 MB / 1.378 GB, free: 12.68 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005934/1.103, allocations: 4.383 MB / 1.382 GB, free: 8.055 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.103, allocations: 8 kB / 1.382 GB, free: 8.047 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01828/1.121, allocations: 8.584 MB / 1.391 GB, free: 15.43 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/1.121, allocations: 12 kB / 1.391 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/1.121, allocations: 20 kB / 1.391 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01498/1.136, allocations: 4.632 MB / 1.395 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.138, allocations: 303.5 kB / 1.395 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0492/1.187, allocations: 32.62 MB / 1.427 GB, free: 8.977 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/1.189, allocations: 152 kB / 1.427 GB, free: 8.828 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/1.19, allocations: 80 kB / 1.428 GB, free: 8.75 MB / 1.154 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.002654/1.192, allocations: 1.341 MB / 1.429 GB, free: 7.398 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004603/1.193, allocations: 214.7 kB / 1.429 GB, free: 7.188 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/1.211, allocations: 8.433 MB / 1.437 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/1.211, allocations: 16 kB / 1.437 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-05/1.212, allocations: 27.94 kB / 1.437 GB, free: 14.67 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/1.212, allocations: 7.969 kB / 1.437 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02567/1.237, allocations: 12.85 MB / 1.45 GB, free: 1.641 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.237, allocations: 8 kB / 1.45 GB, free: 1.633 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/1.238, allocations: 159.8 kB / 1.45 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/1.253, allocations: 4.498 MB / 1.454 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/1.253, allocations: 36 kB / 1.454 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04954/1.303, allocations: 32.22 MB / 1.486 GB, free: 11.85 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/1.303, allocations: 15.92 kB / 1.486 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01812/1.321, allocations: 8.245 MB / 1.494 GB, free: 3.461 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/1.323, allocations: 0.6288 MB / 1.495 GB, free: 2.812 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/1.323, allocations: 32 kB / 1.495 GB, free: 2.781 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/1.325, allocations: 143.8 kB / 1.495 GB, free: 2.641 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007558/1.325, allocations: 168.9 kB / 1.495 GB, free: 2.473 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.326, allocations: 52 kB / 1.495 GB, free: 2.422 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001339/1.327, allocations: 0.9587 MB / 1.496 GB, free: 1.469 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.41e-07/1.327, allocations: 4 kB / 1.496 GB, free: 1.465 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003034/1.33, allocations: 1.117 MB / 1.497 GB, free: 356 kB / 1.217 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.01822/1.348, allocations: 8.849 MB / 1.506 GB, free: 7.363 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.362, allocations: 6.55 MB / 1.512 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.362, allocations: 0 / 1.512 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.009877/1.371, allocations: 4.374 MB / 1.516 GB, free: 12.28 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/1.374, allocations: 0.5216 MB / 1.517 GB, free: 11.77 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06299/1.437, allocations: 33.73 MB / 1.55 GB, free: 9.109 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003525/1.441, allocations: 2.731 MB / 1.552 GB, free: 6.344 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001205/1.442, allocations: 388.5 kB / 1.553 GB, free: 5.961 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/1.443, allocations: 1.214 MB / 1.554 GB, free: 4.746 MB / 1.279 GB Notification: Performance of SimCode: time 7.82e-07/1.443, allocations: 0 / 1.554 GB, free: 4.746 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.803/4.246, allocations: 83.9 MB / 1.636 GB, free: 268.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/23.19, allocations: 4.406 kB / 1.636 GB, free: 268.9 MB / 1.279 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches