Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3/3, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 75.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9935/0.9955, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03573/1.031, allocations: 35.7 MB / 1.356 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02062/1.052, allocations: 10.1 MB / 1.366 GB, free: 9.715 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005428/1.057, allocations: 190.7 kB / 1.366 GB, free: 9.625 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01178/1.069, allocations: 3.867 MB / 1.37 GB, free: 7.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009573/1.079, allocations: 2.147 MB / 1.372 GB, free: 5.977 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007904/1.087, allocations: 1.962 MB / 1.374 GB, free: 4.867 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01451/1.101, allocations: 7.969 MB / 1.382 GB, free: 1.219 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/1.113, allocations: 7.14 MB / 1.389 GB, free: 14.35 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008059/1.121, allocations: 3.463 MB / 1.392 GB, free: 12.78 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009431/1.13, allocations: 3.927 MB / 1.396 GB, free: 11.15 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0027/1.133, allocations: 0.6874 MB / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006259/1.139, allocations: 1.465 MB / 1.398 GB, free: 10.85 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005127/1.144, allocations: 2.691 MB / 1.401 GB, free: 9.672 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.009909/1.154, allocations: 3.099 MB / 1.404 GB, free: 7.688 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02228/1.177, allocations: 10.42 MB / 1.414 GB, free: 2.371 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.177, allocations: 0 / 1.414 GB, free: 2.371 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.154e-06/1.177, allocations: 1.438 kB / 1.414 GB, free: 2.371 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004231/1.177, allocations: 0 / 1.414 GB, free: 2.371 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01953/1.196, allocations: 5.541 MB / 1.42 GB, free: 14.64 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.197, allocations: 13.58 kB / 1.42 GB, free: 14.64 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002126/1.197, allocations: 126.8 kB / 1.42 GB, free: 14.63 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002418/1.199, allocations: 0.697 MB / 1.42 GB, free: 14.14 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006348/1.205, allocations: 0.9921 MB / 1.421 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008529/1.214, allocations: 3.2 MB / 1.424 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000376/1.214, allocations: 353.6 kB / 1.425 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/1.216, allocations: 464.7 kB / 1.425 GB, free: 11.24 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/1.234, allocations: 7.908 MB / 1.433 GB, free: 6.277 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/1.234, allocations: 19.67 kB / 1.433 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006138/1.235, allocations: 211.7 kB / 1.433 GB, free: 6.109 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005937/1.235, allocations: 368.8 kB / 1.433 GB, free: 6.016 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/1.249, allocations: 5.949 MB / 1.439 GB, free: 480 kB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04924/1.298, allocations: 35.99 MB / 1.474 GB, free: 9.242 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/1.302, allocations: 2.002 MB / 1.476 GB, free: 7.227 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/1.303, allocations: 1.341 MB / 1.478 GB, free: 5.883 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.614e-05/1.304, allocations: 17.25 kB / 1.478 GB, free: 5.867 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.481e-05/1.304, allocations: 51.88 kB / 1.478 GB, free: 5.809 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 3.867e-06/1.304, allocations: 7.938 kB / 1.478 GB, free: 5.801 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01651/1.32, allocations: 7.563 MB / 1.485 GB, free: 13.97 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/1.32, allocations: 68.72 kB / 1.485 GB, free: 13.89 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/1.323, allocations: 1.872 MB / 1.487 GB, free: 12 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/1.323, allocations: 53.7 kB / 1.487 GB, free: 11.94 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/1.325, allocations: 2.192 MB / 1.489 GB, free: 9.727 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006727/1.326, allocations: 0.581 MB / 1.49 GB, free: 9.141 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007657/1.327, allocations: 404 kB / 1.49 GB, free: 8.738 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.327, allocations: 305.1 kB / 1.491 GB, free: 8.438 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/1.329, allocations: 1.058 MB / 1.492 GB, free: 7.375 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/1.331, allocations: 1.768 MB / 1.493 GB, free: 5.285 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004228/1.335, allocations: 3.052 MB / 1.496 GB, free: 1.918 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/1.335, allocations: 8 kB / 1.496 GB, free: 1.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007015/1.342, allocations: 3.895 MB / 1.5 GB, free: 13.97 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/1.342, allocations: 15.98 kB / 1.5 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/1.342, allocations: 28.16 kB / 1.5 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002717/1.345, allocations: 0.9389 MB / 1.501 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/1.347, allocations: 419.3 kB / 1.501 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.37, allocations: 22.77 MB / 1.524 GB, free: 4.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/1.372, allocations: 127.8 kB / 1.524 GB, free: 3.965 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/1.373, allocations: 92 kB / 1.524 GB, free: 3.875 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003529/1.376, allocations: 1.656 MB / 1.525 GB, free: 2.211 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006361/1.377, allocations: 274.3 kB / 1.526 GB, free: 1.941 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006037/1.383, allocations: 3.232 MB / 1.529 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/1.383, allocations: 15.94 kB / 1.529 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.383, allocations: 12 kB / 1.529 GB, free: 14.63 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/1.383, allocations: 11.91 kB / 1.529 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.397, allocations: 7.521 MB / 1.536 GB, free: 6.945 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.397, allocations: 4 kB / 1.536 GB, free: 6.941 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/1.398, allocations: 215.6 kB / 1.536 GB, free: 6.73 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/1.4, allocations: 0.8887 MB / 1.537 GB, free: 5.805 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/1.4, allocations: 32 kB / 1.537 GB, free: 5.773 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02255/1.423, allocations: 22.75 MB / 1.56 GB, free: 13.33 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.423, allocations: 4.062 kB / 1.56 GB, free: 13.33 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006257/1.429, allocations: 3.369 MB / 1.563 GB, free: 9.848 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/1.431, allocations: 0.5422 MB / 1.563 GB, free: 9.285 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000528/1.431, allocations: 40.06 kB / 1.563 GB, free: 9.246 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.433, allocations: 95.89 kB / 1.564 GB, free: 9.152 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/1.433, allocations: 141 kB / 1.564 GB, free: 9.016 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.433, allocations: 44 kB / 1.564 GB, free: 8.973 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001859/1.435, allocations: 1.225 MB / 1.565 GB, free: 7.734 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/1.435, allocations: 0 / 1.565 GB, free: 7.734 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004167/1.439, allocations: 0.9023 MB / 1.566 GB, free: 6.832 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006523/1.446, allocations: 3.973 MB / 1.57 GB, free: 2.738 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007638/1.453, allocations: 4.279 MB / 1.574 GB, free: 14.3 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.453, allocations: 4.938 kB / 1.574 GB, free: 14.3 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004658/1.458, allocations: 2.909 MB / 1.577 GB, free: 11.23 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/1.462, allocations: 0.8223 MB / 1.578 GB, free: 10.43 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04647/1.509, allocations: 25.15 MB / 1.602 GB, free: 176 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004085/1.513, allocations: 3.205 MB / 1.605 GB, free: 12.94 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001986/1.515, allocations: 0.5254 MB / 1.606 GB, free: 12.41 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/1.517, allocations: 1.647 MB / 1.607 GB, free: 10.76 MB / 1.295 GB Notification: Performance of SimCode: time 1.372e-06/1.517, allocations: 0 / 1.607 GB, free: 10.76 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/1.679, allocations: 70.82 MB / 1.676 GB, free: 4.859 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/16.51, allocations: 19.92 kB / 1.677 GB, free: 4.84 MB / 1.357 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.135335560014937]