Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 112.5 kB / 16.41 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002463/0.002463, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 437.1 MB / 0.7171 GB, free: 4.051 MB / 0.5762 GB " [Timeout remaining time 177] 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_L_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.89 kB / 1.027 GB, free: 7.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8628/0.8647, allocations: 151.6 MB / 1.175 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04433/0.9091, allocations: 34.85 MB / 1.209 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.9312, allocations: 11.5 MB / 1.22 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.9351, allocations: 159.2 kB / 1.22 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.9469, allocations: 4.246 MB / 1.224 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008301/0.9552, allocations: 1.994 MB / 1.226 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008093/0.9633, allocations: 2.405 MB / 1.229 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01363/0.977, allocations: 8.467 MB / 1.237 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01756/0.9946, allocations: 11.13 MB / 1.248 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007986/1.003, allocations: 3.743 MB / 1.251 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008948/1.012, allocations: 4.183 MB / 1.255 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.003591/1.015, allocations: 0.7852 MB / 1.256 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007573/1.023, allocations: 2.028 MB / 1.258 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.007143/1.03, allocations: 3.057 MB / 1.261 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.009851/1.04, allocations: 3.396 MB / 1.264 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02111/1.061, allocations: 12.01 MB / 1.276 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.061, allocations: 0 / 1.276 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.061, allocations: 0 / 1.276 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004051/1.062, allocations: 0 / 1.276 GB, free: 11.16 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01887/1.081, allocations: 5.942 MB / 1.282 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001033/1.081, allocations: 8.625 kB / 1.282 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002636/1.083, allocations: 0.809 MB / 1.283 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007073/1.09, allocations: 1.09 MB / 1.284 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008231/1.099, allocations: 3.463 MB / 1.287 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005201/1.099, allocations: 419.4 kB / 1.288 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003198/1.102, allocations: 0.5393 MB / 1.288 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02482/1.127, allocations: 9.083 MB / 1.297 GB, free: 5.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003377/1.128, allocations: 31.77 kB / 1.297 GB, free: 5.312 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002314/1.13, allocations: 232 kB / 1.297 GB, free: 5.086 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005385/1.131, allocations: 346.8 kB / 1.298 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/1.149, allocations: 6.83 MB / 1.304 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05805/1.207, allocations: 39.86 MB / 1.343 GB, free: 2.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/1.212, allocations: 3.121 MB / 1.346 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003298/1.215, allocations: 1.978 MB / 1.348 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/1.216, allocations: 18 kB / 1.348 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/1.216, allocations: 52.56 kB / 1.348 GB, free: 13.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=179): time 5.971e-06/1.216, allocations: 3.984 kB / 1.348 GB, free: 13.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.02756/1.243, allocations: 10.04 MB / 1.358 GB, free: 2.883 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/1.243, allocations: 69.41 kB / 1.358 GB, free: 2.801 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/1.246, allocations: 1.534 MB / 1.36 GB, free: 1.223 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002428/1.247, allocations: 49.7 kB / 1.36 GB, free: 1.168 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001853/1.248, allocations: 2.328 MB / 1.362 GB, free: 14.81 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009147/1.249, allocations: 0.6623 MB / 1.363 GB, free: 14.14 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008708/1.25, allocations: 412.1 kB / 1.363 GB, free: 13.73 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.25, allocations: 309 kB / 1.363 GB, free: 13.43 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/1.252, allocations: 1.172 MB / 1.364 GB, free: 12.25 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/1.255, allocations: 1.897 MB / 1.366 GB, free: 10.04 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004737/1.26, allocations: 3.364 MB / 1.37 GB, free: 6.363 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-05/1.26, allocations: 8 kB / 1.37 GB, free: 6.355 MB / 1.092 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008716/1.269, allocations: 4.593 MB / 1.374 GB, free: 1.738 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/1.269, allocations: 12 kB / 1.374 GB, free: 1.727 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.801e-05/1.269, allocations: 24 kB / 1.374 GB, free: 1.703 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00404/1.273, allocations: 1.581 MB / 1.376 GB, free: 116 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.274, allocations: 355.3 kB / 1.376 GB, free: 15.77 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02613/1.3, allocations: 18.6 MB / 1.394 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.302, allocations: 115.9 kB / 1.394 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/1.303, allocations: 96 kB / 1.394 GB, free: 12.41 MB / 1.123 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003865/1.307, allocations: 1.894 MB / 1.396 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005848/1.307, allocations: 238.5 kB / 1.396 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008623/1.316, allocations: 4.102 MB / 1.4 GB, free: 6.137 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.316, allocations: 16 kB / 1.4 GB, free: 6.121 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.27e-05/1.316, allocations: 16 kB / 1.4 GB, free: 6.105 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/1.316, allocations: 15.91 kB / 1.4 GB, free: 6.09 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/1.334, allocations: 9.454 MB / 1.41 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.334, allocations: 8.062 kB / 1.41 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/1.335, allocations: 183.7 kB / 1.41 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003746/1.339, allocations: 1.349 MB / 1.411 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/1.339, allocations: 36 kB / 1.411 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/1.364, allocations: 17.37 MB / 1.428 GB, free: 8.863 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/1.364, allocations: 11.98 kB / 1.428 GB, free: 8.852 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008238/1.372, allocations: 4.075 MB / 1.432 GB, free: 4.688 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.374, allocations: 0.5424 MB / 1.433 GB, free: 4.125 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005291/1.374, allocations: 43.94 kB / 1.433 GB, free: 4.082 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.375, allocations: 83.91 kB / 1.433 GB, free: 4 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000572/1.376, allocations: 161.7 kB / 1.433 GB, free: 3.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.376, allocations: 48 kB / 1.433 GB, free: 3.793 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001859/1.378, allocations: 1.005 MB / 1.434 GB, free: 2.766 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.944e-06/1.378, allocations: 4 kB / 1.434 GB, free: 2.762 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003529/1.381, allocations: 0.9882 MB / 1.435 GB, free: 1.773 MB / 1.154 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00791/1.389, allocations: 4.676 MB / 1.44 GB, free: 13 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007874/1.397, allocations: 4.316 MB / 1.444 GB, free: 8.637 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.397, allocations: 0 / 1.444 GB, free: 8.637 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004954/1.402, allocations: 2.685 MB / 1.446 GB, free: 5.91 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004468/1.407, allocations: 0.7786 MB / 1.447 GB, free: 5.16 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05643/1.463, allocations: 26.97 MB / 1.474 GB, free: 9.098 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00679/1.47, allocations: 3.573 MB / 1.477 GB, free: 5.492 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001717/1.472, allocations: 467.9 kB / 1.477 GB, free: 5.031 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003047/1.475, allocations: 1.788 MB / 1.479 GB, free: 3.242 MB / 1.201 GB Notification: Performance of SimCode: time 1.012e-06/1.475, allocations: 0 / 1.479 GB, free: 3.242 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1579/1.633, allocations: 73.93 MB / 1.551 GB, free: 9.879 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.63, allocations: 7.531 kB / 1.551 GB, free: 9.875 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.701292398851365]