Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.007858/0.007858, 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.002077/0.002077, allocations: 198.7 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.424/2.424, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 64.3 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8875/0.889, allocations: 151.6 MB / 1.166 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0125/0.9015, allocations: 10.02 MB / 1.176 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006006/0.9076, allocations: 3.041 MB / 1.179 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.9087, allocations: 35.88 kB / 1.179 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.9109, allocations: 0.6854 MB / 1.18 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.9128, allocations: 0.7157 MB / 1.18 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.9146, allocations: 0.6493 MB / 1.181 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.9178, allocations: 2.742 MB / 1.184 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.921, allocations: 2.529 MB / 1.186 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.9231, allocations: 1.145 MB / 1.187 GB, free: 14.22 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.9256, allocations: 1.383 MB / 1.189 GB, free: 12.83 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000604/0.9262, allocations: 216 kB / 1.189 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.9276, allocations: 495.3 kB / 1.189 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.929, allocations: 0.9746 MB / 1.19 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.9312, allocations: 1.023 MB / 1.191 GB, free: 10.13 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004152/0.9353, allocations: 3.412 MB / 1.195 GB, free: 6.711 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.9354, allocations: 0 / 1.195 GB, free: 6.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9354, allocations: 0 / 1.195 GB, free: 6.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001272/0.9355, allocations: 0 / 1.195 GB, free: 6.711 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005143/0.9407, allocations: 1.944 MB / 1.196 GB, free: 4.711 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.9407, allocations: 8.922 kB / 1.196 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007716/0.9415, allocations: 256.7 kB / 1.197 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005942/0.9475, allocations: 0.8843 MB / 1.198 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/0.9501, allocations: 1.161 MB / 1.199 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.9502, allocations: 107.3 kB / 1.199 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005623/0.9508, allocations: 148.2 kB / 1.199 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005788/0.9566, allocations: 3.017 MB / 1.202 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/0.9567, allocations: 7.938 kB / 1.202 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.957, allocations: 63.97 kB / 1.202 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/0.9572, allocations: 183 kB / 1.202 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/0.9618, allocations: 2.604 MB / 1.205 GB, free: 12.12 MB / 0.9356 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.01836/0.9802, allocations: 13.48 MB / 1.218 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.9823, allocations: 1.292 MB / 1.219 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.9838, allocations: 1.058 MB / 1.22 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.832e-05/0.984, allocations: 8.656 kB / 1.22 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.984, allocations: 35.22 kB / 1.22 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.045e-06/0.984, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.06978/1.054, allocations: 19.39 MB / 1.239 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/1.054, allocations: 64.72 kB / 1.239 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/1.055, allocations: 0.9222 MB / 1.24 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002234/1.056, allocations: 49.7 kB / 1.24 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/1.056, allocations: 0.7283 MB / 1.241 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005338/1.057, allocations: 489 kB / 1.241 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007685/1.057, allocations: 287.4 kB / 1.242 GB, free: 5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.058, allocations: 349.9 kB / 1.242 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/1.059, allocations: 1.347 MB / 1.243 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/1.062, allocations: 1.655 MB / 1.245 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00474/1.066, allocations: 3.089 MB / 1.248 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/1.066, allocations: 4 kB / 1.248 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01261/1.079, allocations: 5.629 MB / 1.253 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/1.079, allocations: 11.94 kB / 1.253 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.28e-05/1.079, allocations: 8 kB / 1.253 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009609/1.089, allocations: 2.732 MB / 1.256 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/1.09, allocations: 191.7 kB / 1.256 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03771/1.128, allocations: 25.71 MB / 1.281 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.129, allocations: 104.4 kB / 1.281 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/1.129, allocations: 59.94 kB / 1.281 GB, free: 11.28 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001361/1.131, allocations: 0.7315 MB / 1.282 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/1.131, allocations: 118.6 kB / 1.282 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/1.143, allocations: 5.396 MB / 1.288 GB, free: 4.992 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/1.143, allocations: 16 kB / 1.288 GB, free: 4.977 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-05/1.143, allocations: 20 kB / 1.288 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-05/1.143, allocations: 3.984 kB / 1.288 GB, free: 4.953 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.161, allocations: 8.693 MB / 1.296 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.161, allocations: 8.031 kB / 1.296 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/1.161, allocations: 115.8 kB / 1.296 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00881/1.17, allocations: 2.579 MB / 1.299 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/1.17, allocations: 32 kB / 1.299 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03722/1.208, allocations: 24.15 MB / 1.322 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.208, allocations: 7.938 kB / 1.322 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.219, allocations: 5.245 MB / 1.327 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.22, allocations: 491.5 kB / 1.328 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/1.221, allocations: 32 kB / 1.328 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.222, allocations: 75.89 kB / 1.328 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005916/1.222, allocations: 125 kB / 1.328 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.223, allocations: 36 kB / 1.328 GB, free: 10.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001028/1.224, allocations: 0.6434 MB / 1.329 GB, free: 9.926 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.81e-07/1.224, allocations: 0 / 1.329 GB, free: 9.926 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002713/1.226, allocations: 0.7188 MB / 1.33 GB, free: 9.207 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01139/1.238, allocations: 5.831 MB / 1.335 GB, free: 3.281 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007687/1.246, allocations: 4.219 MB / 1.339 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.246, allocations: 0 / 1.339 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005637/1.251, allocations: 2.709 MB / 1.342 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/1.253, allocations: 226 kB / 1.342 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04174/1.295, allocations: 21.39 MB / 1.363 GB, free: 6.184 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/1.297, allocations: 1.704 MB / 1.365 GB, free: 4.449 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000888/1.298, allocations: 325.5 kB / 1.365 GB, free: 4.129 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009672/1.299, allocations: 0.5305 MB / 1.366 GB, free: 3.598 MB / 1.092 GB Notification: Performance of SimCode: time 2.224e-06/1.299, allocations: 0 / 1.366 GB, free: 3.598 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/1.402, allocations: 52.71 MB / 1.417 GB, free: 15.21 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.52, allocations: 2.188 kB / 1.417 GB, free: 15.21 MB / 1.154 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches